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