From 43f1d5865acd1d1f081d419738432e5fee31307a Mon Sep 17 00:00:00 2001 From: Rodrigue Koffi Date: Fri, 11 Aug 2023 17:24:51 +0200 Subject: [PATCH] Temporarily disable lint rule (#218) * Lint: Skip flaky module * Force test on the module * Temporary disable unused_declaration --- .pre-commit-config.yaml | 1 + modules/eks-container-insights/locals.tf | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 84b1d46..10f2b5d 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -20,6 +20,7 @@ repos: exclude: deploy - id: terraform_tflint args: + - '--args=--disable-rule=terraform_unused_declarations' - '--args=--config=__GIT_WORKING_DIR__/.tflint.hcl' - id: terraform_tfsec files: ^examples/ # only scan `examples/*` which are the implementation diff --git a/modules/eks-container-insights/locals.tf b/modules/eks-container-insights/locals.tf index 4ffa01d..3246dbe 100644 --- a/modules/eks-container-insights/locals.tf +++ b/modules/eks-container-insights/locals.tf @@ -74,5 +74,4 @@ locals { irsa_iam_role_path = var.irsa_iam_role_path irsa_iam_permissions_boundary = var.irsa_iam_permissions_boundary } - }