Ephemeral resource support is in technical preview and offered without compatibility promises until Terraform 1.10 is generally available. (#1050)
FEATURES:
ephemeral: New package for implementing ephemeral resources (#1050)
ephemeral/schema: New package for implementing ephemeral resource schemas (#1050)
ENHANCEMENTS:
provider: Added ProviderWithEphemeralResources interface for implementing ephemeral resources (#1050)
tfsdk: Added EphemeralResultData struct for representing ephemeral values produced by a provider, such as from an ephemeral resource (#1050)
provider: Added EphemeralResourceData to ConfigureResponse, to pass provider-defined data to ephemeral.EphemeralResource implementations (#1050)
v1.12.0
NOTES:
all: This Go module has been updated to Go 1.22 per the Go support policy. It is recommended to review the Go 1.22 release notes before upgrading. Any consumers building on earlier Go versions may experience errors (#1033)
BUG FIXES:
providerserver: Fixed bug that prevented moved operation support between resource types for framework-only providers. (#1039)
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:
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:
Ephemeral resource support is in technical preview and offered without compatibility promises until Terraform 1.10 is generally available. (#1050)
FEATURES:
ephemeral: New package for implementing ephemeral resources (#1050)
ephemeral/schema: New package for implementing ephemeral resource schemas (#1050)
ENHANCEMENTS:
provider: Added ProviderWithEphemeralResources interface for implementing ephemeral resources (#1050)
tfsdk: Added EphemeralResultData struct for representing ephemeral values produced by a provider, such as from an ephemeral resource (#1050)
provider: Added EphemeralResourceData to ConfigureResponse, to pass provider-defined data to ephemeral.EphemeralResource implementations (#1050)
1.12.0 (September 18, 2024)
NOTES:
all: This Go module has been updated to Go 1.22 per the Go support policy. It is recommended to review the Go 1.22 release notes before upgrading. Any consumers building on earlier Go versions may experience errors (#1033)
BUG FIXES:
providerserver: Fixed bug that prevented moved operation support between resource types for framework-only providers. (#1039)
1.11.0 (August 06, 2024)
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:
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
}
</tr></table>
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps github.com/hashicorp/terraform-plugin-framework from 1.9.0 to 1.13.0.
Release notes
Sourced from github.com/hashicorp/terraform-plugin-framework's releases.
... (truncated)
Changelog
Sourced from github.com/hashicorp/terraform-plugin-framework's changelog.
... (truncated)
Commits
497e13a
Update changelogae74f93
ephemeral: Initial ephemeral resource type implementation (#1050)a2137d3
build(deps): Bump github.com/hashicorp/terraform-plugin-go (#1051)b372415
Result of tsccr-helper -log-level=info gha update -latest . (#1048)bca1b06
Result of tsccr-helper -log-level=info gha update -latest . (#1046)ffca03d
Result of tsccr-helper -log-level=info gha update -latest . (#1045)e09ec9d
Update changeloge753600
build(deps): Bump github.com/hashicorp/terraform-plugin-go (#1041)ba1098a
add missing capability MoveResourceState (#1038)7076cca
docs: Miscellaneous doc fixes in attribute + unit tests (#1027)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show