tf-defender/vms/Makefile

22 lines
288 B
Makefile
Raw Normal View History

2021-05-15 20:55:05 +02:00
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)