Skip to content

Commit 0d55fe8

Browse files
authored
fix: assume role session duration not compatible with atmosphere (#840)
mid work
1 parent 357b967 commit 0d55fe8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/cdk-cli-integ-tests.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ export class CdkCliIntegTestsWorkflow extends Component {
310310
uses: 'aws-actions/configure-aws-credentials@v4',
311311
with: {
312312
'aws-region': 'us-east-1',
313-
'role-duration-seconds': 4 * 60 * 60,
313+
'role-duration-seconds': props.enableAtmosphere ? 60 * 60 : 4 * 60 * 60,
314314
// Expect this in Environment Variables
315315
'role-to-assume': props.enableAtmosphere ? props.enableAtmosphere.oidcRoleArn : '${{ vars.AWS_ROLE_TO_ASSUME_FOR_TESTING }}',
316316
'role-session-name': 'run-tests@aws-cdk-cli-integ',

test/__snapshots__/cdk-cli-integ-tests.test.ts.snap

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)