diff --git a/.gitignore b/.gitignore index 4c26d7a..d0d7001 100644 --- a/.gitignore +++ b/.gitignore @@ -5,4 +5,3 @@ *.tfplan tfplan crash.log -.terraform.lock.hcl diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 0439d93..2d8aea7 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -10,6 +10,8 @@ repos: rev: v0.1.30 hooks: - id: tofu-fmt + - id: tofu-validate + - id: tflint - id: terragrunt-hcl-fmt - repo: https://github.com/adrienverge/yamllint.git rev: v1.37.1 diff --git a/modules/binarylane/.tflint.hcl b/modules/binarylane/.tflint.hcl new file mode 100644 index 0000000..3a2ace1 --- /dev/null +++ b/modules/binarylane/.tflint.hcl @@ -0,0 +1,3 @@ +rule "terraform_unused_declarations" { + enabled = false +}