(TF): Bump hashicorp/aws in /modules/aws/group_user_memberships (#5) #14
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Validate Terraform with Trivy | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
permissions: | |
contents: read | |
jobs: | |
RunTerraformValidation: | |
name: Run Terraform Validation | |
runs-on: ubuntu-latest | |
steps: | |
- name: Clone the Repository | |
uses: actions/checkout@v4 | |
# Results have to be a table as the organisation does not have Advanced Security license. | |
- name: Run Trivy against Terraform | |
uses: aquasecurity/[email protected] | |
with: | |
scan-type: 'config' | |
exit-code: '1' |