From 06815f98a183347008100f8f9f08931908035d48 Mon Sep 17 00:00:00 2001
From: Dmitrii Unterov <du228@cam.ac.uk>
Date: Wed, 10 Apr 2024 09:30:51 +0100
Subject: [PATCH] fix: disable terraform_standard_module_structure tflint rule

---
 CHANGELOG.md                       | 6 ++++++
 auto-devops/terraform-pipeline.yml | 2 +-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index 3a89228..fc6ead4 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
 The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
 and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
 
+## [3.8.2] - 2024-04-10
+
+### Fixed
+
+- `terraform-pipeline.yml`: `tflint` rule `terraform_standard_module_structure` is now disabled.
+
 ## [3.8.1] - 2024-04-08
 
 ### Fixed
diff --git a/auto-devops/terraform-pipeline.yml b/auto-devops/terraform-pipeline.yml
index 42beb10..a04279a 100644
--- a/auto-devops/terraform-pipeline.yml
+++ b/auto-devops/terraform-pipeline.yml
@@ -215,7 +215,7 @@ tflint:
     fi
   script: |
     tflint --init
-    tflint --recursive
+    tflint --recursive --disable-rule=terraform_standard_module_structure
   rules:
     - if: $TFLINT_DISABLED
       when: never
-- 
GitLab