diff --git a/.github/workflows/integ.yml b/.github/workflows/integ.yml index 4c691f292..b3f07ace4 100644 --- a/.github/workflows/integ.yml +++ b/.github/workflows/integ.yml @@ -76,8 +76,8 @@ jobs: uses: aws-actions/configure-aws-credentials@v4 with: aws-region: us-east-1 - role-duration-seconds: 14400 - role-to-assume: ${{ vars.AWS_ROLE_TO_ASSUME_FOR_TESTING }} + role-duration-seconds: 3600 + role-to-assume: ${{ vars.CDK_ATMOSPHERE_PROD_OIDC_ROLE }} role-session-name: run-tests@aws-cdk-cli-integ output-credentials: true - name: Set git identity @@ -122,7 +122,9 @@ jobs: JSII_SILENCE_WARNING_UNTESTED_NODE_VERSION: "true" JSII_SILENCE_WARNING_KNOWN_BROKEN_NODE_VERSION: "true" DOCKERHUB_DISABLED: "true" - AWS_REGIONS: us-east-2,eu-west-1,eu-north-1,ap-northeast-1,ap-south-1 + CDK_INTEG_ATMOSPHERE_ENABLED: "true" + CDK_INTEG_ATMOSPHERE_ENDPOINT: ${{ vars.CDK_ATMOSPHERE_PROD_ENDPOINT }} + CDK_INTEG_ATMOSPHERE_POOL: ${{ vars.CDK_INTEG_ATMOSPHERE_POOL }} CDK_MAJOR_VERSION: "2" RELEASE_TAG: latest GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.projenrc.ts b/.projenrc.ts index 14612653b..13a45fd61 100644 --- a/.projenrc.ts +++ b/.projenrc.ts @@ -1538,6 +1538,11 @@ new CdkCliIntegTestsWorkflow(repo, { // - Previously released version for aws-cdk-lib cloudAssemblySchema.name, ], + enableAtmosphere: { + oidcRoleArn: '${{ vars.CDK_ATMOSPHERE_PROD_OIDC_ROLE }}', + endpoint: '${{ vars.CDK_ATMOSPHERE_PROD_ENDPOINT }}', + pool: '${{ vars.CDK_INTEG_ATMOSPHERE_POOL }}', + }, }); new CodeCovWorkflow(repo, {