khuedoan-homelab/infra/Makefile
2021-05-23 12:24:32 +07:00

19 lines
250 B
Makefile

.POSIX:
.EXPORT_ALL_VARIABLES:
TF_IN_AUTOMATION = true
default: init apply
init:
terraform init -input=false
plan:
terraform plan -input=false -out=/tmp/tfplan
apply: plan
terraform apply -input=false /tmp/tfplan
destroy:
terraform destroy