NOTES:
- all: This Go module has been updated to Go 1.23 per the Go support policy. It is recommended to review the Go 1.23 release notes before upgrading. Any consumers building on earlier Go versions may experience errors. (#1114)
- all: This release contains a new interface and package for implmenting managed resource identity. Resource identity is data that is defined by a separate schema and is stored alongside resource state. Identity data is used by Terrform to uniquely identify a remote object and is meant to be immutable during the remote object's lifecycle. Resources that support identity can now be imported using the
identity
attribute in Terraform configurationimport
blocks, available in Terraform v1.12+. Theresource.ResourceWithIdentity
interface can be implemented to support identity by defining an identity schema. Once the identity schema is defined, you can read and store identity data in the state file via the newIdentity
fields in the response objects on the resource CRUD methods. (#1112)
FEATURES:
- tfsdk: Added
ResourceIdentity
struct to represent managed resource identity data. (#1112) - resource/identityschema: New package for implementing managed resource identity schemas. (#1107)
- resource: Added new
ImportStatePassthroughWithIdentity
helper that can support both identity and ID importing via a single field. (#1134) - resource: Added
ResourceWithIdentity
interface for implementing managed resource identity. (#1107)
ENHANCEMENTS: