Skip to content

Cleanup Terraform [Part 2] #1113

Cleanup Terraform [Part 2]

Cleanup Terraform [Part 2] #1113

Workflow file for this run

on:
pull_request:
paths:
- "infrastructure/applications/**/*"
- "infrastructure/applications/*"
name: Terraform Lint
env:
TF_WORKSPACE: "production"
jobs:
tfsec:
name: TFSec
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
steps:
- name: Clone repo
uses: actions/checkout@master
- name: tfsec
uses: aquasecurity/[email protected]
with:
github_token: ${{ github.token }}
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Terraform Format
id: fmt
run: terraform fmt -check
env:
TF_IN_AUTOMATION: 1