We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4fa8e2e commit 72ef5f0Copy full SHA for 72ef5f0
.github/workflows/ci.yaml
@@ -43,12 +43,14 @@ jobs:
43
- name: Validate the configuration
44
run: terraform validate
45
- name: Configure AWS credentials
46
+ if: github.event_name == 'push' && github.repository == 'unfunco/terraform-aws-oidc-github'
47
uses: aws-actions/configure-aws-credentials@v4
48
with:
49
aws-region: ${{ vars.AWS_REGION }}
50
role-session-name: OIDCGitHubActionsTerraformTest${{ github.run_id }}
51
role-to-assume: arn:aws:iam::${{ secrets.AWS_ACCOUNT_ID }}:role/github
52
- name: Run unit tests
53
54
run: terraform test
55
56
release:
0 commit comments