Skip to content

Commit d532c7d

Browse files
fix: Add environment parameter to CDK bootstrap command for LocalStack
1 parent 6d78b53 commit d532c7d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/common-test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ jobs:
9393
AWS_ENDPOINT_URL: http://localhost:4566
9494
- name: Bootstrap CDK for LocalStack
9595
if: ${{ inputs.useLocalStack }}
96-
run: npx cdk bootstrap aws://000000000000/eu-west-1
96+
run: npx cdk bootstrap aws://000000000000/eu-west-1 -c environment=test
9797
working-directory: test/cdk-basic
9898
env:
9999
AWS_ENDPOINT_URL: http://localhost:4566
@@ -184,7 +184,7 @@ jobs:
184184
AWS_ENDPOINT_URL: http://localhost:4566
185185
- name: Bootstrap CDK for LocalStack
186186
if: ${{ inputs.useLocalStack }}
187-
run: npx cdk bootstrap aws://000000000000/eu-west-1
187+
run: npx cdk bootstrap aws://000000000000/eu-west-1 -c environment=test
188188
working-directory: test/cdk-esm
189189
env:
190190
AWS_ENDPOINT_URL: http://localhost:4566

0 commit comments

Comments
 (0)