diff --git a/.changes/unreleased/BUG FIXES-20241203-144106.yaml b/.changes/unreleased/BUG FIXES-20241203-144106.yaml new file mode 100644 index 00000000..6b3c4d9d --- /dev/null +++ b/.changes/unreleased/BUG FIXES-20241203-144106.yaml @@ -0,0 +1,6 @@ +kind: BUG FIXES +body: Fix incorrect validation for heterogeneous list +time: 2024-12-03T14:41:06.889146+01:00 +custom: + Issue: "1884" + Repository: terraform-ls diff --git a/go.mod b/go.mod index 3f7c8abe..c825a8b6 100644 --- a/go.mod +++ b/go.mod @@ -14,7 +14,7 @@ require ( github.com/hashicorp/go-uuid v1.0.3 github.com/hashicorp/go-version v1.7.0 github.com/hashicorp/hc-install v0.9.0 - github.com/hashicorp/hcl-lang v0.0.0-20241115124434-9d252ff73a68 + github.com/hashicorp/hcl-lang v0.0.0-20241203131115-8d59b17219fd github.com/hashicorp/hcl/v2 v2.23.0 github.com/hashicorp/terraform-exec v0.21.0 github.com/hashicorp/terraform-json v0.23.0 diff --git a/go.sum b/go.sum index 0afd82a0..1eabdcb4 100644 --- a/go.sum +++ b/go.sum @@ -228,8 +228,8 @@ github.com/hashicorp/hc-install v0.9.0 h1:2dIk8LcvANwtv3QZLckxcjyF5w8KVtiMxu6G6e github.com/hashicorp/hc-install v0.9.0/go.mod h1:+6vOP+mf3tuGgMApVYtmsnDoKWMDcFXeTxCACYZ8SFg= github.com/hashicorp/hcl v1.0.0 h1:0Anlzjpi4vEasTeNFn2mLJgTSwt0+6sfsiTG8qcWGx4= github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ= -github.com/hashicorp/hcl-lang v0.0.0-20241115124434-9d252ff73a68 h1:AhKd5zK/+uiSRCmjpyQqZ8nSDBwiIz2fF5D4nXIYdys= -github.com/hashicorp/hcl-lang v0.0.0-20241115124434-9d252ff73a68/go.mod h1:3HWmoYgqN9HnX3GXCIPbfjLNT48F/0dqY5SP8V9cmIs= +github.com/hashicorp/hcl-lang v0.0.0-20241203131115-8d59b17219fd h1:Ap3K7uO+Dnd2ZSl5vQvIh63Z/QWaI5eTgRYfdYtaxH8= +github.com/hashicorp/hcl-lang v0.0.0-20241203131115-8d59b17219fd/go.mod h1:5NUxE6UGpjm8iW/pY70BJWunDMkc73d7HTtvefU8B/c= github.com/hashicorp/hcl/v2 v2.23.0 h1:Fphj1/gCylPxHutVSEOf2fBOh1VE4AuLV7+kbJf3qos= github.com/hashicorp/hcl/v2 v2.23.0/go.mod h1:62ZYHrXgPoX8xBnzl8QzbWq4dyDsDtfCRgIq1rbJEvA= github.com/hashicorp/terraform-exec v0.21.0 h1:uNkLAe95ey5Uux6KJdua6+cv8asgILFVWkd/RG0D2XQ=