Skip to content

chore(deps): bump hashicorp/aws from 5.52.0 to 5.72.1 in /terraform/aws-accounts/cloud-platform-dsd in the cloud-platform-dsd group across 1 directory #2974

chore(deps): bump hashicorp/aws from 5.52.0 to 5.72.1 in /terraform/aws-accounts/cloud-platform-dsd in the cloud-platform-dsd group across 1 directory

chore(deps): bump hashicorp/aws from 5.52.0 to 5.72.1 in /terraform/aws-accounts/cloud-platform-dsd in the cloud-platform-dsd group across 1 directory #2974

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