Skip to content

Commit

Permalink
Merge pull request #74 from Pocket/katerina/tf-state-migration
Browse files Browse the repository at this point in the history
specify tf workspace for tf init
  • Loading branch information
katerinachinnappan authored Apr 17, 2024
2 parents 2e72163 + 8ff9a0f commit 16b2275
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion buildspec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ phases:
# synthesize the js into terraform json with the proper node environment
- 'if [ "$GIT_BRANCH" = "$DEV_BRANCH" ]; then NODE_ENV=development npm run synth; else npm run synth; fi'
- cd cdktf.out/stacks/firefox-api-proxy
- terraform init
- 'if [ "$GIT_BRANCH" = "$DEV_BRANCH" ]; then TF_WORKSPACE=$TF_DEV_WORKSPACE terraform init; else terraform init; fi'
build:
run-as: circleci
commands:
Expand Down

0 comments on commit 16b2275

Please sign in to comment.