Skip to content

Commit

Permalink
v 2021
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesWoolfenden committed Jan 5, 2021
1 parent b936a08 commit 68e75a1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion example/examplea/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#Makefile
ifdef OS
BLAT = $(powershell -noprofile rm .\.terraform\ -force -recurse)
RM = $(powershell -noprofile rm .\.terraform\ -force -recurse)
else
ifeq ($(shell uname), Linux)
RM = rm .terraform/modules/ -fr
Expand Down Expand Up @@ -40,7 +41,7 @@ docs:
terraform-docs md . > README.md

valid:
terraform fmt -check=true
terraform fmt
checkov -d . --external-checks-dir ../../checkov

conftest: plan convert
Expand Down
2 changes: 1 addition & 1 deletion validate.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ $ErrorActionPreference ="Stop"
Push-Location
Set-Location example/examplea
Remove-Item .terraform -Recurse -ErrorAction SilentlyContinue
Remove-Item .terraform.lock.hcl
Remove-Item .terraform.lock.hcl -ErrorAction SilentlyContinue
terraform init -upgrade
terraform validate
make valid
Expand Down

0 comments on commit 68e75a1

Please sign in to comment.