Fixing makefile

This commit is contained in:
shockrah 2023-10-05 22:28:54 -07:00
parent b0e5bd50da
commit 9bd6cbd3e3

View File

@ -3,20 +3,20 @@ plan=out.plan
SHELL := /bin/bash
$(plan): *.tf
source secrets/set-env.sh && terraform plan -input=false -out $(plan)
source ../secrets/set-env.sh && terraform plan -input=false -out $(plan)
push: build
source secrets/set-env.sh && terraform apply $(plan)
source ../secrets/set-env.sh && terraform apply $(plan)
refresh:
source secrets/set-env.sh && terraform apply -refresh-only
source ../secrets/set-env.sh && terraform apply -refresh-only
test:
terraform validate
rip:
source secrets/set-env.sh && terraform destroy
source ../secrets/set-env.sh && terraform destroy
clean:
rm -f $(plan)