aboutsummaryrefslogtreecommitdiff
path: root/test/terraform
diff options
context:
space:
mode:
Diffstat (limited to 'test/terraform')
-rw-r--r--test/terraform/older_tflint.sh13
-rw-r--r--test/terraform/scenarios.json8
2 files changed, 21 insertions, 0 deletions
diff --git a/test/terraform/older_tflint.sh b/test/terraform/older_tflint.sh
new file mode 100644
index 0000000..20009c9
--- /dev/null
+++ b/test/terraform/older_tflint.sh
@@ -0,0 +1,13 @@
+#!/bin/bash
+
+set -e
+
+# Optional: Import test library
+source dev-container-features-test-lib
+
+check "terraform" terraform -version
+
+check "tflint" tflint --version
+
+# Report result
+reportResults \ No newline at end of file
diff --git a/test/terraform/scenarios.json b/test/terraform/scenarios.json
index 8977635..0a4d895 100644
--- a/test/terraform/scenarios.json
+++ b/test/terraform/scenarios.json
@@ -22,5 +22,13 @@
"installTerraformDocs": true
}
}
+ },
+ "older_tflint": {
+ "image": "mcr.microsoft.com/devcontainers/base:jammy",
+ "features": {
+ "terraform": {
+ "tflint": "0.40.0"
+ }
+ }
}
} \ No newline at end of file