From 2a519491681904b8b5670e84f2ef965a29d9a302 Mon Sep 17 00:00:00 2001 From: Niek Palm Date: Sat, 16 Nov 2024 16:57:03 +0100 Subject: [PATCH] ci: refactor terraform validation --- .tflint.hcl | 24 +++++++++--------------- 1 file changed, 9 insertions(+), 15 deletions(-) diff --git a/.tflint.hcl b/.tflint.hcl index e846efd3c4..7d562fc7fd 100644 --- a/.tflint.hcl +++ b/.tflint.hcl @@ -3,26 +3,20 @@ config { call_module_type = "local" } -plugin "terraform" { - enabled = true - version = "0.10.0" - source = "github.com/terraform-linters/tflint-ruleset-terraform" -} - plugin "aws" { enabled = true version = "0.34.0" source = "github.com/terraform-linters/tflint-ruleset-aws" } -# rule "terraform_comment_syntax" { -# enabled = true -# } +rule "terraform_comment_syntax" { + enabled = true +} -# rule "terraform_naming_convention" { -# enabled = true -# } +rule "terraform_naming_convention" { + enabled = true +} -# rule "terraform_documented_variables" { -# enabled = true -# } +rule "terraform_documented_variables" { + enabled = true +}