Skip to content

https://github.com/andgineer/terraform-aws-cloudmap/issues/1 #1

https://github.com/andgineer/terraform-aws-cloudmap/issues/1

https://github.com/andgineer/terraform-aws-cloudmap/issues/1 #1

Workflow file for this run

name: Tflint
on:
push:
branches:
- main
permissions: read-all
jobs:
tflint-checks:
runs-on: ubuntu-latest
steps:
- name : Check out Git Repository
uses: actions/checkout@v3
- uses: actions/cache@v2
name: Cache plugin dir
with:
path: ~/.tflint.d/plugins
key: ${{ matrix.os }}-tflint-${{ hashFiles('.tflint.hcl') }}
- uses: terraform-linters/setup-tflint@v2
name: Setup TFLint
with:
github_token: ${{ secrets.CI_GITHUB_TOKEN }}
- name: Show version
run: tflint --version
- name: Init TFLint
run: tflint --init
# Run tflint command in each directory recursively # use --force if you want to continue with workflow although errors are there
- name: Run TFLint
run: tflint -f compact --recursive