From f1d7c01a2041f0420b8739c413aaf2d11646b88c Mon Sep 17 00:00:00 2001 From: Daniel Banck Date: Thu, 12 Dec 2024 13:30:32 +0100 Subject: [PATCH] Bump terraform-schema to `081547f` (#1892) --- .changes/unreleased/BUG FIXES-20241212-120530.yaml | 6 ++++++ go.mod | 2 +- go.sum | 4 ++-- 3 files changed, 9 insertions(+), 3 deletions(-) create mode 100644 .changes/unreleased/BUG FIXES-20241212-120530.yaml diff --git a/.changes/unreleased/BUG FIXES-20241212-120530.yaml b/.changes/unreleased/BUG FIXES-20241212-120530.yaml new file mode 100644 index 00000000..fdda8036 --- /dev/null +++ b/.changes/unreleased/BUG FIXES-20241212-120530.yaml @@ -0,0 +1,6 @@ +kind: BUG FIXES +body: Fix crash when using ephemeral resources with older Terraform versions +time: 2024-12-12T12:05:30.160278+01:00 +custom: + Issue: "1892" + Repository: terraform-ls diff --git a/go.mod b/go.mod index a1b886d7..bb117f86 100644 --- a/go.mod +++ b/go.mod @@ -19,7 +19,7 @@ require ( github.com/hashicorp/terraform-exec v0.21.0 github.com/hashicorp/terraform-json v0.23.0 github.com/hashicorp/terraform-registry-address v0.2.3 - github.com/hashicorp/terraform-schema v0.0.0-20241128095320-1392f740c4fe + github.com/hashicorp/terraform-schema v0.0.0-20241212122325-081547f3c7b7 github.com/mcuadros/go-defaults v1.2.0 github.com/mh-cbon/go-fmt-fail v0.0.0-20160815164508-67765b3fbcb5 github.com/mitchellh/cli v1.1.5 diff --git a/go.sum b/go.sum index b6c985e8..d7f86184 100644 --- a/go.sum +++ b/go.sum @@ -238,8 +238,8 @@ github.com/hashicorp/terraform-json v0.23.0 h1:sniCkExU4iKtTADReHzACkk8fnpQXrdD2 github.com/hashicorp/terraform-json v0.23.0/go.mod h1:MHdXbBAbSg0GvzuWazEGKAn/cyNfIB7mN6y7KJN6y2c= github.com/hashicorp/terraform-registry-address v0.2.3 h1:2TAiKJ1A3MAkZlH1YI/aTVcLZRu7JseiXNRHbOAyoTI= github.com/hashicorp/terraform-registry-address v0.2.3/go.mod h1:lFHA76T8jfQteVfT7caREqguFrW3c4MFSPhZB7HHgUM= -github.com/hashicorp/terraform-schema v0.0.0-20241128095320-1392f740c4fe h1:2pVtzihaLjn6PTIyKom+X491QlLupxGoLRf5Ik8zpYM= -github.com/hashicorp/terraform-schema v0.0.0-20241128095320-1392f740c4fe/go.mod h1:3vDqHlpaMuTeBXSC4LWDM/m2QdEe9DmC90IgyuhdgZw= +github.com/hashicorp/terraform-schema v0.0.0-20241212122325-081547f3c7b7 h1:1gMInmFc0slFdG8Ya/wT7lRS8NARRovzj08Lvd4P39k= +github.com/hashicorp/terraform-schema v0.0.0-20241212122325-081547f3c7b7/go.mod h1:3vDqHlpaMuTeBXSC4LWDM/m2QdEe9DmC90IgyuhdgZw= github.com/hashicorp/terraform-svchost v0.1.1 h1:EZZimZ1GxdqFRinZ1tpJwVxxt49xc/S52uzrw4x0jKQ= github.com/hashicorp/terraform-svchost v0.1.1/go.mod h1:mNsjQfZyf/Jhz35v6/0LWcv26+X7JPS+buii2c9/ctc= github.com/hexops/autogold v1.3.1 h1:YgxF9OHWbEIUjhDbpnLhgVsjUDsiHDTyDfy2lrfdlzo=