Skip to content

Commit f918947

Browse files
authored
Add support for Terraform v1.12 (#2321)
* Bump HCL to the same version as Terraform v1.12 https://github.com/hashicorp/terraform/blob/v1.12.1/go.mod#L36 * Bump supported Terraform version to v1.12 * go 1.24.3
1 parent 5905c9f commit f918947

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

docs/user-guide/compatibility.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ TFLint interprets the [Terraform language](https://developer.hashicorp.com/terra
44

55
The parser supports Terraform v1.x syntax and semantics. The language compatibility on Terraform v1.x is defined by [Compatibility Promises](https://developer.hashicorp.com/terraform/language/v1-compatibility-promises). TFLint follows this promise. New features are only supported in newer TFLint versions, and bug and experimental features compatibility are not guaranteed.
66

7-
The latest supported version is Terraform v1.11.
7+
The latest supported version is Terraform v1.12.
88

99
## Input Variables
1010

go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/terraform-linters/tflint
22

3-
go 1.24.1
3+
go 1.24.3
44

55
require (
66
github.com/agext/levenshtein v1.2.3
@@ -14,7 +14,7 @@ require (
1414
github.com/hashicorp/go-plugin v1.6.3
1515
github.com/hashicorp/go-uuid v1.0.3
1616
github.com/hashicorp/go-version v1.7.0
17-
github.com/hashicorp/hcl/v2 v2.23.0
17+
github.com/hashicorp/hcl/v2 v2.23.1-0.20250203194505-ba0759438da2
1818
github.com/hashicorp/logutils v1.0.0
1919
github.com/jessevdk/go-flags v1.6.1
2020
github.com/jstemmer/go-junit-report v1.0.0

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1020,8 +1020,8 @@ github.com/hashicorp/golang-lru/v2 v2.0.7 h1:a+bsQ5rvGLjzHuww6tVxozPZFVghXaHOwFs
10201020
github.com/hashicorp/golang-lru/v2 v2.0.7/go.mod h1:QeFd9opnmA6QUJc5vARoKUSoFhyfM2/ZepoAG6RGpeM=
10211021
github.com/hashicorp/hcl v1.0.0 h1:0Anlzjpi4vEasTeNFn2mLJgTSwt0+6sfsiTG8qcWGx4=
10221022
github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ=
1023-
github.com/hashicorp/hcl/v2 v2.23.0 h1:Fphj1/gCylPxHutVSEOf2fBOh1VE4AuLV7+kbJf3qos=
1024-
github.com/hashicorp/hcl/v2 v2.23.0/go.mod h1:62ZYHrXgPoX8xBnzl8QzbWq4dyDsDtfCRgIq1rbJEvA=
1023+
github.com/hashicorp/hcl/v2 v2.23.1-0.20250203194505-ba0759438da2 h1:JP8y98OtHTujECs4s/HxlKc5yql/RlC99Dt1Iz4R+lM=
1024+
github.com/hashicorp/hcl/v2 v2.23.1-0.20250203194505-ba0759438da2/go.mod h1:k+HgkLpoWu9OS81sy4j1XKDXaWm/rLysG33v5ibdDnc=
10251025
github.com/hashicorp/logutils v1.0.0 h1:dLEQVugN8vlakKOUE3ihGLTZJRB4j+M2cdTm/ORI65Y=
10261026
github.com/hashicorp/logutils v1.0.0/go.mod h1:QIAnNjmIWmVIIkWDTG1z5v++HQmx9WQRO+LraFDTW64=
10271027
github.com/hashicorp/terraform-registry-address v0.2.4 h1:JXu/zHB2Ymg/TGVCRu10XqNa4Sh2bWcqCNyKWjnCPJA=

0 commit comments

Comments
 (0)