Skip to content

Commit 6bf3f09

Browse files
Fixes to AWS role assumption/credentials for Final Slack Summary.
1 parent 70ddf12 commit 6bf3f09

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

.github/workflows/release-and-deploy-bfd.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,13 @@ jobs:
173173
echo "failed_stage=$FAILED_STAGE" >> $GITHUB_OUTPUT
174174
echo "color=$COLOR" >> $GITHUB_OUTPUT
175175
176+
- name: Assume role to AWS
177+
uses: aws-actions/configure-aws-credentials@ec61189d14ec14c8efccab744f656cffd0e33f37 # v6.1.0
178+
with:
179+
role-to-assume: ${{ steps.get-role-arn.outputs.role-arn }}
180+
role-session-name: get-sops-slack-webhook-${{ github.run_id }}-${{ github.run_attempt }}
181+
aws-region: ${{ inputs.aws-region }}
182+
176183
- name: Slack - FINAL SUMMARY
177184
uses: slackapi/slack-github-action@03ea5433c137af7c0495bc0cad1af10403fc800c # v3.0.2
178185
with:

0 commit comments

Comments
 (0)