Skip to content

Fix validation error 🙈 #268

Fix validation error 🙈

Fix validation error 🙈 #268

Workflow file for this run

name: "Validate Module"
on: [push, pull_request]
permissions:
contents: read
pull-requests: write
jobs:
terraform:
name: Terraform Validation
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Setup Terraform
uses: hashicorp/[email protected]
- name: Run fmt
run: terraform fmt -diff -check -no-color -recursive
- name: Run init
run: terraform init
- name: Run validate
run: terraform validate -no-color
- uses: terraform-linters/[email protected]
name: Setup TFLint
with:
tflint_version: v0.33.1
- name: Init TFLint
run: tflint --init
- name: Run TFLint
run: tflint -f compact
- name: tfsec
uses: aquasecurity/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}