terraform-lint-action

A GitHub Action that fails CI when Terraform code isn't formatted with terraform fmt, and prints the diff.

Shellci · github action · terraforminfrastructuresource on github

How

A Docker action on the official Terraform image that runs terraform fmt -check -recursive -diff and fails if anything would change.

- uses: zombocoder/terraform-lint-action@v1.0.0
$ git clone https://github.com/zombocoder/terraform-lint-action
← all projects