Skip to content

Commit 99d5e45

Browse files
committed
Set TF_VAR_deploy_stage=test for terraform plan
instead of `yarn run zip`. This fixes [Issue ](lucidprogrammer#1)
1 parent 9909e94 commit 99d5e45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"production-install": "yarn install --modules-folder=./build/node_modules --production=true",
1111
"zip-graphql": "yarn run production-install && git archive -9 -o ./build/graphql.zip HEAD:src/graphql && cd build && zip -ur ./graphql.zip . -i \"node_modules/*\"",
1212
"zip": "yarn run zip-graphql",
13-
"test-deploy-plan": "TF_VAR_deploy_stage=test yarn run zip && terraform plan -out=./infrastructure/deployment/test/terraform.tfstate",
13+
"test-deploy-plan": "yarn run zip && TF_VAR_deploy_stage=test terraform plan -out=./infrastructure/deployment/test/terraform.tfstate",
1414
"test-deploy": "TF_VAR_deploy_stage=test yarn run test-deploy-plan && terraform apply ./infrastructure/deployment/test/terraform.tfstate"
1515
},
1616
"dependencies": {

0 commit comments

Comments
 (0)