From b2cd11445fa9ad7ea4c8ba09bfc6b530530df301 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 7 Nov 2024 12:18:24 -0600 Subject: [PATCH] fix(deps): update module github.com/hashicorp/terraform-plugin-framework to v1.13.0 (#751) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [github.com/hashicorp/terraform-plugin-framework](https://redirect.github.com/hashicorp/terraform-plugin-framework) | `v1.10.0` -> `v1.13.0` | [![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fhashicorp%2fterraform-plugin-framework/v1.13.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fhashicorp%2fterraform-plugin-framework/v1.13.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fhashicorp%2fterraform-plugin-framework/v1.10.0/v1.13.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fhashicorp%2fterraform-plugin-framework/v1.10.0/v1.13.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
hashicorp/terraform-plugin-framework (github.com/hashicorp/terraform-plugin-framework) ### [`v1.13.0`](https://redirect.github.com/hashicorp/terraform-plugin-framework/releases/tag/v1.13.0) [Compare Source](https://redirect.github.com/hashicorp/terraform-plugin-framework/compare/v1.12.0...v1.13.0) NOTES: - Ephemeral resource support is in technical preview and offered without compatibility promises until Terraform 1.10 is generally available. ([#​1050](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/1050)) FEATURES: - ephemeral: New package for implementing ephemeral resources ([#​1050](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/1050)) - ephemeral/schema: New package for implementing ephemeral resource schemas ([#​1050](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/1050)) ENHANCEMENTS: - provider: Added `ProviderWithEphemeralResources` interface for implementing ephemeral resources ([#​1050](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/1050)) - tfsdk: Added `EphemeralResultData` struct for representing ephemeral values produced by a provider, such as from an ephemeral resource ([#​1050](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/1050)) - provider: Added `EphemeralResourceData` to `ConfigureResponse`, to pass provider-defined data to `ephemeral.EphemeralResource` implementations ([#​1050](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/1050)) ### [`v1.12.0`](https://redirect.github.com/hashicorp/terraform-plugin-framework/releases/tag/v1.12.0) [Compare Source](https://redirect.github.com/hashicorp/terraform-plugin-framework/compare/v1.11.0...v1.12.0) NOTES: - all: This Go module has been updated to Go 1.22 per the [Go support policy](https://go.dev/doc/devel/release#policy). It is recommended to review the [Go 1.22 release notes](https://go.dev/doc/go1.22) before upgrading. Any consumers building on earlier Go versions may experience errors ([#​1033](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/1033)) BUG FIXES: - providerserver: Fixed bug that prevented `moved` operation support between resource types for framework-only providers. ([#​1039](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/1039)) ### [`v1.11.0`](https://redirect.github.com/hashicorp/terraform-plugin-framework/releases/tag/v1.11.0) [Compare Source](https://redirect.github.com/hashicorp/terraform-plugin-framework/compare/v1.10.0...v1.11.0) NOTES: - Framework reflection logic (`Config.Get`, `Plan.Get`, etc.) for structs with `tfsdk` field tags has been updated to support embedded structs that promote exported fields. For existing structs that embed unexported structs with exported fields, a tfsdk ignore tag (`tfsdk:"-"`) can be added to ignore all promoted fields. For example, the following struct will now return an error diagnostic: ```go type thingResourceModel struct { Attr1 types.String `tfsdk:"attr_1"` Attr2 types.Bool `tfsdk:"attr_2"` // Previously, this embedded struct was ignored, will now promote underlying fields embeddedModel } type embeddedModel struct { // No `tfsdk` tag ExportedField string } ``` To preserve the original behavior, a tfsdk ignore tag can be added to ignore the entire embedded struct: ```go type thingResourceModel struct { Attr1 types.String `tfsdk:"attr_1"` Attr2 types.Bool `tfsdk:"attr_2"` // This embedded struct will now be ignored embeddedModel `tfsdk:"-"` } type embeddedModel struct { ExportedField string } ``` ([#​1021](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/1021)) ENHANCEMENTS: - all: Added embedded struct support for object to struct conversions with `tfsdk` tags ([#​1021](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/1021))
--- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/equinix/terraform-provider-equinix). Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- go.mod | 2 +- go.sum | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/go.mod b/go.mod index 04f0f2c52..aec845b01 100644 --- a/go.mod +++ b/go.mod @@ -13,7 +13,7 @@ require ( github.com/hashicorp/go-retryablehttp v0.7.7 github.com/hashicorp/go-uuid v1.0.3 github.com/hashicorp/terraform-plugin-docs v0.20.0 - github.com/hashicorp/terraform-plugin-framework v1.10.0 + github.com/hashicorp/terraform-plugin-framework v1.13.0 github.com/hashicorp/terraform-plugin-framework-timeouts v0.4.1 github.com/hashicorp/terraform-plugin-framework-validators v0.13.0 github.com/hashicorp/terraform-plugin-go v0.25.0 diff --git a/go.sum b/go.sum index b5d781591..f7517217e 100644 --- a/go.sum +++ b/go.sum @@ -116,8 +116,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-plugin-docs v0.20.0 h1:ox7rm1FN0dVZaJBUzkVVh10R1r3+FeMQWL0QopQ9d7o= github.com/hashicorp/terraform-plugin-docs v0.20.0/go.mod h1:A/+4SVMdAkQYtIBtaxV0H7AU862TxVZk/hhKaMDQB6Y= -github.com/hashicorp/terraform-plugin-framework v1.10.0 h1:xXhICE2Fns1RYZxEQebwkB2+kXouLC932Li9qelozrc= -github.com/hashicorp/terraform-plugin-framework v1.10.0/go.mod h1:qBXLDn69kM97NNVi/MQ9qgd1uWWsVftGSnygYG1tImM= +github.com/hashicorp/terraform-plugin-framework v1.13.0 h1:8OTG4+oZUfKgnfTdPTJwZ532Bh2BobF4H+yBiYJ/scw= +github.com/hashicorp/terraform-plugin-framework v1.13.0/go.mod h1:j64rwMGpgM3NYXTKuxrCnyubQb/4VKldEKlcG8cvmjU= github.com/hashicorp/terraform-plugin-framework-timeouts v0.4.1 h1:gm5b1kHgFFhaKFhm4h2TgvMUlNzFAtUqlcOWnWPm+9E= github.com/hashicorp/terraform-plugin-framework-timeouts v0.4.1/go.mod h1:MsjL1sQ9L7wGwzJ5RjcI6FzEMdyoBnw+XK8ZnOvQOLY= github.com/hashicorp/terraform-plugin-framework-validators v0.13.0 h1:bxZfGo9DIUoLLtHMElsu+zwqI4IsMZQBRRy4iLzZJ8E=