Skip to content

Commit

Permalink
terraform make file
Browse files Browse the repository at this point in the history
  • Loading branch information
Cyclenerd committed Oct 14, 2024
1 parent 858ac00 commit 247a6ad
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions terraform/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# A Makefile helper file. This is just to make life easier...

.PHONY: init
init:
terraform init -reconfigure

.PHONY: fmt
fmt:
terraform fmt -recursive

.PHONY: lint
lint:
terraform fmt -recursive -check -diff

.PHONY: validate
validate:
terraform validate

.PHONY: show
show:
terraform show

.PHONY: p
p: plan
.PHONY: plan
plan:
terraform plan

.PHONY: apply
apply:
terraform apply

.DEFAULT_GOAL := plan

0 comments on commit 247a6ad

Please sign in to comment.