feat: new output alb_target_group_arn_suffixes
(#119)
#124
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: "static analysis" | |
on: | |
pull_request: | |
branches: | |
- main | |
push: | |
branches: | |
- main | |
jobs: | |
validate: | |
name: validate | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
terraform: [ ~1.3.0 ] | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/cache@v3 | |
with: | |
path: ~/.tflint.d/plugins | |
key: ${{ matrix.os }}-tflint-${{ hashFiles('.tflint.hcl') }} | |
- uses: hashicorp/setup-terraform@v2 | |
with: | |
terraform_version: ${{ matrix.terraform }} | |
- uses: terraform-linters/setup-tflint@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
- run: make fmt | |
- run: make validate | |
- run: make tflint | |
- name: Terraform security scan | |
uses: aquasecurity/[email protected] | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
tfsec_args: '--force-all-dirs --exclude-downloaded-modules --minimum-severity HIGH' | |
working_dir: '' |