Skip to content
This repository was archived by the owner on Apr 22, 2025. It is now read-only.
Merged
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
5 changes: 5 additions & 0 deletions packages/@aws-cdk-testing/cli-integ/lib/aws.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,11 @@ export class AwsClients {
AWS_ACCESS_KEY_ID: this.identity.accessKeyId,
AWS_SECRET_ACCESS_KEY: this.identity.secretAccessKey,
AWS_SESSION_TOKEN: this.identity.sessionToken!,

// unset any previously used profile because the SDK will prefer
// this over static env credentials. this is relevant for tests running on CodeBuild
// because we use a profile as our main credentials source.
AWS_PROFILE: '',
} : undefined;
}

Expand Down