Skip to content

Commit

Permalink
fix(deps): update module github.com/hashicorp/terraform-plugin-framew…
Browse files Browse the repository at this point in the history
…ork to v1.13.0 (#751)

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

<details>
<summary>hashicorp/terraform-plugin-framework
(github.com/hashicorp/terraform-plugin-framework)</summary>

###
[`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.
([#&#8203;1050](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/1050))

FEATURES:

- ephemeral: New package for implementing ephemeral resources
([#&#8203;1050](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/1050))
- ephemeral/schema: New package for implementing ephemeral resource
schemas
([#&#8203;1050](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/1050))

ENHANCEMENTS:

- provider: Added `ProviderWithEphemeralResources` interface for
implementing ephemeral resources
([#&#8203;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
([#&#8203;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
([#&#8203;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
([#&#8203;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.
([#&#8203;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
}
```


([#&#8203;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
([#&#8203;1021](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/1021))

</details>

---

### 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.

---

- [ ] <!-- rebase-check -->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).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4xOC4xNyIsInVwZGF0ZWRJblZlciI6IjM5LjcuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
renovate[bot] authored Nov 7, 2024
1 parent 6a02652 commit b2cd114
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -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=
Expand Down

0 comments on commit b2cd114

Please sign in to comment.