tf-libvirt/vms/Makefile
2021-05-13 02:11:08 +02:00

22 lines
288 B
Makefile

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)