Initial commit.
This commit is contained in:
32
Makefile
Normal file
32
Makefile
Normal file
@ -0,0 +1,32 @@
|
||||
format:
|
||||
@echo
|
||||
@echo "Running terraform fmt & terragrunt hclfmt..."
|
||||
@echo
|
||||
@terraform fmt -recursive
|
||||
@terragrunt hclfmt
|
||||
|
||||
validate:
|
||||
@echo
|
||||
@echo "Validating infrastructure with Terragrunt..."
|
||||
@echo
|
||||
@terragrunt run-all --terragrunt-non-interactive --terragrunt-working-dir infra validate
|
||||
|
||||
plan:
|
||||
@echo
|
||||
@echo "Planning infrastructure"
|
||||
@echo
|
||||
@terragrunt run-all --terragrunt-non-interactive --terragrunt-working-dir infra plan
|
||||
|
||||
apply:
|
||||
@echo
|
||||
@echo "Planning infrastructure"
|
||||
@echo
|
||||
@terragrunt run-all --terragrunt-non-interactive --terragrunt-working-dir infra apply
|
||||
|
||||
destroy:
|
||||
@echo
|
||||
@echo "Destroying infrastructure with Terragrunt..."
|
||||
@echo
|
||||
@terragrunt run-all --terragrunt-non-interactive --terragrunt-working-dir infra destroy
|
||||
|
||||
.PHONY: format validate plan apply
|
Reference in New Issue
Block a user