Testing AWS Credentials
Fixes:
MODIFY
.github/workflows/ci.yml
.github/workflows/ci.yml
@@ -97,6 +97,15 @@ jobs:
- name: Install Pulumi CLI
uses: pulumi/action-install-pulumi-cli@releases/v1
- uses: actions/checkout@v2
+ - name: Configure AWS Credentials
+ uses: aws-actions/configure-aws-credentials@v1
+ with:
+ aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
+ aws-region: ${{ env.AWS_REGION }}
+ aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
+ role-duration-seconds: 3600
+ role-session-name: examples@githubActions
+ role-to-assume: ${{ secrets.AWS_CI_ROLE_ARN }}
- name: Install Go dependencies
run: make ensure
- name: Run ${{ matrix.clouds }}${{ matrix.languages }} Tests

MODIFY
.github/workflows/cron.yml
.github/workflows/cron.yml
@@ -88,6 +88,15 @@ jobs:
- name: Login to Google Cloud Registry
run: |
gcloud --quiet auth configure-docker
+ - name: Configure AWS Credentials
+ uses: aws-actions/configure-aws-credentials@v1
+ with:
+ aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
+ aws-region: ${{ env.AWS_REGION }}
+ aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
+ role-duration-seconds: 3600
+ role-session-name: examples@githubActions
+ role-to-assume: ${{ secrets.AWS_CI_ROLE_ARN }}
- uses: actions/checkout@v2
- name: Checkout Scripts Repo
uses: actions/checkout@v2

Testing AWS Credentials (#707)

Fixes: #708