testing gha tokens

This commit is contained in:
Michaela Wheeler 2021-12-15 19:48:28 +11:00
parent b1232a9e46
commit 3ddf183fb5
2 changed files with 8 additions and 0 deletions

View File

@ -12,6 +12,10 @@ jobs:
environment: main environment: main
name: 'Terraform' name: 'Terraform'
runs-on: ubuntu-latest runs-on: ubuntu-latest
# These permissions are needed to interact with GitHub's OIDC Token endpoint.
permissions:
id-token: write
contents: read
steps: steps:
- name: Configure AWS Credentials - name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v1 uses: aws-actions/configure-aws-credentials@v1

View File

@ -12,6 +12,10 @@ jobs:
environment: main environment: main
name: 'Terraform' name: 'Terraform'
runs-on: ubuntu-latest runs-on: ubuntu-latest
# These permissions are needed to interact with GitHub's OIDC Token endpoint.
permissions:
id-token: write
contents: read
steps: steps:
- name: Configure AWS Credentials - name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v1 uses: aws-actions/configure-aws-credentials@v1