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 SHELL := /bin/bash
$(plan): *.tf $(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 push: build
source secrets/set-env.sh && terraform apply $(plan) source ../secrets/set-env.sh && terraform apply $(plan)
refresh: refresh:
source secrets/set-env.sh && terraform apply -refresh-only source ../secrets/set-env.sh && terraform apply -refresh-only
test: test:
terraform validate terraform validate
rip: rip:
source secrets/set-env.sh && terraform destroy source ../secrets/set-env.sh && terraform destroy
clean: clean:
rm -f $(plan) rm -f $(plan)