Skip to content

Commit 3968c3f

Browse files
fix: Set CDK_DEFAULT_REGION environment variable for LocalStack bootstrap step
1 parent 7258a44 commit 3968c3f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/common-test.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,8 @@ jobs:
101101
if: ${{ inputs.useLocalStack }}
102102
run: npx cdklocal bootstrap aws://000000000000/eu-west-1 -c environment=test
103103
working-directory: test/cdk-basic
104+
env:
105+
CDK_DEFAULT_REGION: eu-west-1
104106
- name: Destroy
105107
if: ${{ !inputs.useLocalStack }}
106108
run: npm run destroy

0 commit comments

Comments
 (0)