diff --git a/.github/workflows/merge_to_main_production.yml b/.github/workflows/merge_to_main_production.yml index 439535041..a76a5ad36 100644 --- a/.github/workflows/merge_to_main_production.yml +++ b/.github/workflows/merge_to_main_production.yml @@ -66,14 +66,14 @@ jobs: - name: Configure credentials to Notify Private ECR using OIDC uses: aws-actions/configure-aws-credentials@master with: - role-to-assume: arn:aws:iam::${{env.ACCOUNT_ID}}:role/notification-api-apply + role-to-assume: arn:aws:iam::${{env.ACCOUNT_ID}}:role/notification-terraform-apply role-session-name: NotifyApiGitHubActions aws-region: "ca-central-1" - name: Configure credentials to Notify Private ECR using OIDC uses: aws-actions/configure-aws-credentials@master with: - role-to-assume: arn:aws:iam::${{env.ACCOUNT_ID}}:role/notification-api-apply + role-to-assume: arn:aws:iam::${{env.ACCOUNT_ID}}:role/notification-terraform-apply role-session-name: NotifyApiGitHubActions aws-region: "us-east-1" diff --git a/.github/workflows/merge_to_main_staging.yml b/.github/workflows/merge_to_main_staging.yml index c12de4834..7f93fde18 100644 --- a/.github/workflows/merge_to_main_staging.yml +++ b/.github/workflows/merge_to_main_staging.yml @@ -69,14 +69,14 @@ jobs: - name: Configure credentials to Notify Private ECR using OIDC uses: aws-actions/configure-aws-credentials@master with: - role-to-assume: arn:aws:iam::${{env.ACCOUNT_ID}}:role/notification-api-apply + role-to-assume: arn:aws:iam::${{env.ACCOUNT_ID}}:role/notification-terraform-apply role-session-name: NotifyApiGitHubActions aws-region: "ca-central-1" - name: Configure credentials to Notify Private ECR using OIDC uses: aws-actions/configure-aws-credentials@master with: - role-to-assume: arn:aws:iam::${{env.ACCOUNT_ID}}:role/notification-api-apply + role-to-assume: arn:aws:iam::${{env.ACCOUNT_ID}}:role/notification-terraform-apply role-session-name: NotifyApiGitHubActions aws-region: "us-east-1"