We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 548bdcf commit 6ad172fCopy full SHA for 6ad172f
1 file changed
packages/@aws-cdk-testing/cli-integ/lib/aws.ts
@@ -94,6 +94,11 @@ export class AwsClients {
94
AWS_ACCESS_KEY_ID: this.identity.accessKeyId,
95
AWS_SECRET_ACCESS_KEY: this.identity.secretAccessKey,
96
AWS_SESSION_TOKEN: this.identity.sessionToken!,
97
+
98
+ // unset any previously used profile because the SDK will prefer
99
+ // this over static env credentials. this is relevant for tests running on CodeBuild
100
+ // because we use a profile as our main credentials source.
101
+ AWS_PROFILE: '',
102
} : undefined;
103
}
104
0 commit comments