chore(deps): bump hashicorp/aws from 5.80.0 to 5.81.0 in /terraform/aws-accounts/cloud-platform-dsd in the cloud-platform-dsd group #3294
Workflow file for this run
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: terraform-tools | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
tflint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
- uses: actions/cache@v4 | |
with: | |
path: ~/.tflint.d/plugins | |
key: tflint-${{ hashFiles('.tflint.hcl') }} | |
- uses: terraform-linters/setup-tflint@v4 | |
with: | |
tflint_version: v0.44.1 | |
- run: find . -type f -name "*.tfvars" -delete # remove terraform variable files before linting | |
- run: tflint --version | |
- run: tflint --init | |
- run: tflint -f compact --recursive -c $(realpath .tflint.hcl) | |
tfsec: | |
runs-on: ubuntu-latest | |
permissions: | |
security-events: write | |
steps: | |
- uses: actions/[email protected] | |
- uses: aquasecurity/[email protected] | |
with: | |
tfsec_args: --force-all-dirs --soft-fail -m=CRITICAL --no-module-downloads --exclude-path=terraform/aws-accounts/cloud-platform-ephemeral-test --exclude-path=terraform/aws-accounts/cloud-platform-dsd --exclude-path=terraform/aws-accounts/cloud-platform-aws/vpc/kops --exclude-path=terraform/modules | |
sarif_file: tfsec.sarif | |
- uses: github/codeql-action/upload-sarif@v3 | |
with: | |
sarif_file: tfsec.sarif |