tf-libvirt/vms/Makefile

22 lines
288 B
Makefile
Raw Permalink Normal View History

2021-05-13 02:11:08 +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)