diff --git a/.github/workflows/staging_deploy.yaml b/.github/workflows/staging_deploy.yaml index f728135a..bbecbf05 100644 --- a/.github/workflows/staging_deploy.yaml +++ b/.github/workflows/staging_deploy.yaml @@ -18,7 +18,7 @@ env: PREVIEW_PATH: /${{ github.event.repository.name }}/pr/${{ github.event.number }} STAGING_URL: https://staging.overturemaps.org SCHEMA_PREVIEW: false # Set to true to only publish Schema reference docs - AWS_ROLE_ARN: arn:aws:iam::763944545891:role/pages-staging-oidc-overturemaps + AWS_ROLE_ARN: arn:aws:iam::763944545891:role/pages-staging-scoped-oidc-overturemaps AWS_REGION: us-west-2 jobs: diff --git a/.github/workflows/staging_deploy_cleanup.yaml b/.github/workflows/staging_deploy_cleanup.yaml index da01a362..52b1e957 100644 --- a/.github/workflows/staging_deploy_cleanup.yaml +++ b/.github/workflows/staging_deploy_cleanup.yaml @@ -18,10 +18,11 @@ jobs: name: Cleanup if: github.event.pull_request.head.repo.full_name == github.repository runs-on: ubuntu-slim + environment: staging permissions: id-token: write # for AWS OIDC authentication env: - AWS_ROLE_ARN: arn:aws:iam::763944545891:role/pages-staging-oidc-overturemaps + AWS_ROLE_ARN: arn:aws:iam::763944545891:role/pages-staging-scoped-oidc-overturemaps AWS_REGION: us-west-2 steps: