Skip to content
Snippets Groups Projects
Verified Commit a32e8b69 authored by Sheogorath's avatar Sheogorath :european_castle:
Browse files

terraform: Add testing for terraform in Makefile

parent 9f50be00
Branches x13n-patch-10
No related tags found
No related merge requests found
...@@ -17,6 +17,11 @@ preflight: ...@@ -17,6 +17,11 @@ preflight:
init: ## Initalize terraform init: ## Initalize terraform
terraform init terraform init
.PHONY: test
test:
terraform fmt -check -recursive
terraform validate
.PHONY: plan .PHONY: plan
plan: preflight init ## Run terraform plan (dry-run) plan: preflight init ## Run terraform plan (dry-run)
terraform plan ${TERRAFORM_PARAMETERS} terraform plan ${TERRAFORM_PARAMETERS}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment