Skip to content

Commit

Permalink
Add EUID AWS credentials
Browse files Browse the repository at this point in the history
  • Loading branch information
cYKatherine committed Jun 13, 2024
1 parent cfe3110 commit 7268afe
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/actions/build_ami/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,12 +80,20 @@ runs:
unzip -o -d ./scripts/aws/uid2-operator-ami/artifacts $FILE.zip
rm $FILE.zip
- name: Configure AWS credentials
- name: Configure UID2 AWS credentials
uses: aws-actions/configure-aws-credentials@v4
if: ${{ inputs.identity_scope == 'uid2' }}
with:
aws-region: us-east-2
role-to-assume: arn:aws:iam::475720075663:role/github-runner-operator-runner

- name: Configure EUID AWS credentials
uses: aws-actions/configure-aws-credentials@v4
if: ${{ inputs.identity_scope == 'euid' }}
with:
aws-region: eu-central-1
role-to-assume: arn:aws:iam::618285103646:role/github-runner-operator-runner

- name: Show AWS Identity
shell: bash
run: |
Expand Down

0 comments on commit 7268afe

Please sign in to comment.