diff --git a/.github/workflows/e2e.yaml b/.github/workflows/e2e.yaml index 7021afef..53cb0884 100644 --- a/.github/workflows/e2e.yaml +++ b/.github/workflows/e2e.yaml @@ -40,7 +40,7 @@ jobs: uses: aws-actions/configure-aws-credentials@v4 with: aws-region: eu-west-1 - role-to-assume: arn:aws:iam::911167907168:oidc-provider/token.actions.githubusercontent.com + role-to-assume: arn:aws:iam::911167907168:role/GitHubAction-AssumeRoleWithAction role-session-name: GitHub_to_AWS_via_FederatedOIDC - name: Store test timestamp run: echo "TIMESTAMP=$(date +'%s')" >> $GITHUB_ENV diff --git a/nuke-config.yml b/nuke-config.yml index 8d31db57..b14b900a 100644 --- a/nuke-config.yml +++ b/nuke-config.yml @@ -11,7 +11,7 @@ accounts: - property: Name value: "OrganizationAccountAccessRole" - property: Name - value: "admin" + value: "GitHubAction-AssumeRoleWithAction" IAMRolePolicyAttachment: - property: RoleName value: "OrganizationAccountAccessRole"