Fixing makefile
This commit is contained in:
parent
b0e5bd50da
commit
9bd6cbd3e3
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user