Skip to content

Commit

Permalink
use role to assum
Browse files Browse the repository at this point in the history
Signed-off-by: Tao Liu <liutaoaz@amazon.com>
  • Loading branch information
Flyingliuhub committed Oct 30, 2024
1 parent e5eac2d commit aeba88e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/deployment-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -126,10 +126,9 @@ jobs:
OTEL_DATA_PREPPER_CERT: ${{ secrets.otel_data_prepper_cert }}

- name: Step 6 - Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v2
uses: aws-actions/configure-aws-credentials@v4
with:
aws-access-key-id: ${{ secrets.access-key-id }}
aws-secret-access-key: ${{ secrets.secret-access-key }}
role-to-assume: arn:aws:iam::${{ secrets.AWS_ACCOUNT_ID_PREVIEW }}:role/ekspreviewadminrole-github
aws-region: ${{ secrets.region }}

- name: Step 7 - Delete Logstash
Expand Down

0 comments on commit aeba88e

Please sign in to comment.