Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions .github/workflows/integrations.python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ on:
description: Upstream aws-cdk version to use in tests
required: false
env:
AWS_ACCESS_KEY_ID: test
AWS_SECRET_ACCESS_KEY: test

jobs:
Expand All @@ -23,11 +22,13 @@ jobs:
strategy:
matrix:
include:
- { language: python, node-version: '16.x', python-version: '3.10', region: us-east-1}
- { language: python, node-version: '16.x', python-version: '3.9', region: us-east-1}
- { language: python, node-version: '16.x', python-version: '3.8', region: us-east-1}
- { language: python, node-version: '16.x', python-version: '3.10', region: us-east-1, access-key-id: '000000000001'}
- { language: python, node-version: '16.x', python-version: '3.10', region: us-east-1, access-key-id: 'test'}
- { language: python, node-version: '16.x', python-version: '3.9', region: us-east-1, access-key-id: 'test'}
- { language: python, node-version: '16.x', python-version: '3.8', region: us-east-1, access-key-id: 'test'}

env:
AWS_ACCESS_KEY_ID: ${{ matrix.access-key-id }}
AWS_REGION: ${{ matrix.region }}
AWS_DEFAULT_REGION: ${{ matrix.region }}

Expand Down
4 changes: 2 additions & 2 deletions bin/cdklocal
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,8 @@ const setSdkOptions = (options, setHttpOptions) => {
}
options.endpoint = getLocalEndpoint();
options.s3ForcePathStyle = true;
options.accessKeyId = "test";
options.secretAccessKey = "test";
options.accessKeyId = process.env.AWS_ACCESS_KEY_ID || "test";
options.secretAccessKey = process.env.AWS_SECRET_ACCESS_KEY || "test";
};

const patchProviderCredentials = (provider) => {
Expand Down