diff --git a/vms/Makefile b/vms/Makefile new file mode 100644 index 0000000..31ef0d5 --- /dev/null +++ b/vms/Makefile @@ -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)