Skip to content

Ignore secrets.auto.tfvars files that may be used #35

Ignore secrets.auto.tfvars files that may be used

Ignore secrets.auto.tfvars files that may be used #35

Workflow file for this run

name: Lint
on:
push:
branches-ignore:
- main
jobs:
validate:
runs-on: ubuntu-latest
name: Validate terraform configuration
strategy:
fail-fast: false
matrix:
path: ["cg_space", "clamav", "database", "domain", "redis", "s3"]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: terraform validate ${{ matrix.path }}
uses: dflook/terraform-validate@v1
with:
path: ${{ matrix.path }}
fmt-check:
runs-on: ubuntu-latest
name: Check formatting of terraform files
strategy:
fail-fast: false
matrix:
path: ["cg_space", "clamav", "database", "domain", "redis", "s3"]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: terraform fmt ${{ matrix.path }}
uses: dflook/terraform-fmt-check@v1
with:
path: ${{ matrix.path }}