Skip to content

Commit

Permalink
Change config AWS creds to role to unblock previous major version test
Browse files Browse the repository at this point in the history
  • Loading branch information
ziyiz-amzn committed Dec 9, 2024
1 parent cbbab6c commit e71801e
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/actions/setup-integration-test/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ inputs:
required: false
description: "The datacenter endpoint for the SauceLabs Connect Proxy."
default: "https://saucelabs.com/rest/v1"
aws-access-key-id:
aws-role-to-assume:
required: true
description: "The access key of the AWS account"
description: "The AWS Role to assume"
default: ""
aws-secret-access-key:
required: true
description: "The secret access key of the AWS account"
aws-role-session-name:
required: false
description: "The AWS Role Session Name"
default: ""
runs:
using: "composite"
Expand All @@ -44,10 +44,10 @@ runs:
run: echo "${{ steps.create-job-id.outputs.uuid }}"
shell: bash
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v1
uses: aws-actions/configure-aws-credentials@v4
with:
aws-access-key-id: ${{ inputs.aws-access-key-id }}
aws-secret-access-key: ${{ inputs.aws-secret-access-key }}
role-to-assume: ${{ inputs.aws-role-to-assume }}
role-session-name: ${{ inputs.aws-role-session-name }}
aws-region: us-east-1
- name: Setup Sauce Connect
uses: saucelabs/sauce-connect-action@v1
Expand Down

0 comments on commit e71801e

Please sign in to comment.