add Makefile
This commit is contained in:
parent
ab2bea4699
commit
9f10cd1ead
21
vms/Makefile
Normal file
21
vms/Makefile
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
tf = terraform
|
||||||
|
tfa = $(tf) apply
|
||||||
|
tfa! = $(tfa) -auto-approve
|
||||||
|
tfd = $(tf) destroy -auto-approve
|
||||||
|
tfinfra = $(tf) init && $(tfv) && $(tfp) && $(tfa!)
|
||||||
|
tfp = $(tf) plan
|
||||||
|
tfv = $(tf) validate
|
||||||
|
|
||||||
|
.PHONY: apply destroy infra plan
|
||||||
|
|
||||||
|
apply:
|
||||||
|
$(tfa)
|
||||||
|
|
||||||
|
destroy:
|
||||||
|
$(tfd)
|
||||||
|
|
||||||
|
infra:
|
||||||
|
$(tfinfra)
|
||||||
|
|
||||||
|
plan:
|
||||||
|
$(tfp)
|
Loading…
Reference in New Issue
Block a user