File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -2,17 +2,17 @@ ENV ?= staging
22
33apply : apply-remote-state apply-secrets apply-env apply-k8s-utils
44
5- apply-remote-state :
5+ apply-remote-state :
66 pushd terraform/bootstrap/remote-state; \
77 terraform init; \
8- terraform apply
8+ terraform apply -var " environment= $( ENV ) "
99
10- apply-secrets :
10+ apply-secrets :
1111 pushd terraform/bootstrap/secrets; \
1212 terraform init; \
1313 terraform apply
1414
15- apply-env :
15+ apply-env :
1616 pushd terraform/environments/$(ENV ) ; \
1717 terraform init; \
1818 terraform apply
@@ -24,15 +24,15 @@ apply-k8s-utils:
2424
2525teardown : teardown-k8s-utils teardown-env teardown-secrets teardown-remote-state
2626
27- teardown-remote-state :
27+ teardown-remote-state :
2828 pushd terraform/bootstrap/remote-state; \
2929 terraform destroy;
3030
31- teardown-secrets :
31+ teardown-secrets :
3232 pushd terraform/bootstrap/secrets; \
3333 terraform destroy -auto-approve;
3434
35- teardown-env :
35+ teardown-env :
3636 pushd terraform/environments/$(ENV ) ; \
3737 terraform destroy -auto-approve;
3838
You can’t perform that action at this time.
0 commit comments