diff --git a/.github/workflows/acceptance-tests.yml b/.github/workflows/acceptance-tests.yml index 2b9185e59c..0aea24ca7a 100644 --- a/.github/workflows/acceptance-tests.yml +++ b/.github/workflows/acceptance-tests.yml @@ -453,35 +453,35 @@ jobs: TEST_REGEX: "^TestAccConfig" run: make testacc - assume_role: - needs: [ change-detection, fetch-sts-assume-role-creds] - if: ${{ needs.change-detection.outputs.config == 'true' || github.event_name == 'workflow_dispatch' || github.event_name == 'schedule' || github.event.label.name == 'run-testacc' || github.event.label.name == 'run-testacc-config' || inputs.parent-event-name == 'release' }} - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v4 - - name: Set up Go - uses: actions/setup-go@v4 - with: - go-version-file: 'go.mod' - - name: Acceptance Tests - env: - ASSUME_ROLE_ARN: ${{ vars.ASSUME_ROLE_ARN }} - AWS_REGION: ${{ vars.AWS_REGION }} - STS_ENDPOINT: ${{ vars.STS_ENDPOINT }} - SECRET_NAME: ${{ vars.AWS_SECRET_NAME }} - AWS_ACCESS_KEY_ID: ${{ needs.fetch-sts-assume-role-creds.outputs.AWS_ACCESS_KEY_ID }} - AWS_SECRET_ACCESS_KEY: ${{ needs.fetch-sts-assume-role-creds.outputs.AWS_SECRET_ACCESS_KEY }} - AWS_SESSION_TOKEN: ${{ needs.fetch-sts-assume-role-creds.outputs.AWS_SESSION_TOKEN }} - MONGODB_ATLAS_ORG_ID: ${{ vars.MONGODB_ATLAS_ORG_ID_CLOUD_DEV }} - MONGODB_ATLAS_BASE_URL: ${{ vars.MONGODB_ATLAS_BASE_URL }} - ACCTEST_TIMEOUT: ${{ vars.ACCTEST_TIMEOUT }} - TF_LOG: ${{ vars.LOG_LEVEL }} - TF_ACC: 1 - PARALLEL_GO_TEST: 20 - CI: true - TEST_REGEX: "^TestAccSTSAssumeRole" - run: make testacc + # assume_role: # See INTMDB-1245 + # needs: [ change-detection, fetch-sts-assume-role-creds] + # if: ${{ needs.change-detection.outputs.config == 'true' || github.event_name == 'workflow_dispatch' || github.event_name == 'schedule' || github.event.label.name == 'run-testacc' || github.event.label.name == 'run-testacc-config' || inputs.parent-event-name == 'release' }} + # runs-on: ubuntu-latest + # steps: + # - name: Checkout + # uses: actions/checkout@v4 + # - name: Set up Go + # uses: actions/setup-go@v4 + # with: + # go-version-file: 'go.mod' + # - name: Acceptance Tests + # env: + # ASSUME_ROLE_ARN: ${{ vars.ASSUME_ROLE_ARN }} + # AWS_REGION: ${{ vars.AWS_REGION }} + # STS_ENDPOINT: ${{ vars.STS_ENDPOINT }} + # SECRET_NAME: ${{ vars.AWS_SECRET_NAME }} + # AWS_ACCESS_KEY_ID: ${{ needs.fetch-sts-assume-role-creds.outputs.AWS_ACCESS_KEY_ID }} + # AWS_SECRET_ACCESS_KEY: ${{ needs.fetch-sts-assume-role-creds.outputs.AWS_SECRET_ACCESS_KEY }} + # AWS_SESSION_TOKEN: ${{ needs.fetch-sts-assume-role-creds.outputs.AWS_SESSION_TOKEN }} + # MONGODB_ATLAS_ORG_ID: ${{ vars.MONGODB_ATLAS_ORG_ID_CLOUD_DEV }} + # MONGODB_ATLAS_BASE_URL: ${{ vars.MONGODB_ATLAS_BASE_URL }} + # ACCTEST_TIMEOUT: ${{ vars.ACCTEST_TIMEOUT }} + # TF_LOG: ${{ vars.LOG_LEVEL }} + # TF_ACC: 1 + # PARALLEL_GO_TEST: 20 + # CI: true + # TEST_REGEX: "^TestAccSTSAssumeRole" + # run: make testacc event_trigger: needs: [ change-detection ]