diff --git a/.changes/unreleased/ENHANCEMENTS-20250512-163846.yaml b/.changes/unreleased/ENHANCEMENTS-20250512-163846.yaml new file mode 100644 index 000000000..2c3b0a7ee --- /dev/null +++ b/.changes/unreleased/ENHANCEMENTS-20250512-163846.yaml @@ -0,0 +1,5 @@ +kind: ENHANCEMENTS +body: 'resource: Updated `Create`, `Update`, `Read`, and `Delete` request and response objects to support the passing of identity data.' +time: 2025-05-12T16:38:46.963101-04:00 +custom: + Issue: "1112" diff --git a/.changes/unreleased/ENHANCEMENTS-20250512-164027.yaml b/.changes/unreleased/ENHANCEMENTS-20250512-164027.yaml new file mode 100644 index 000000000..8df4f5d34 --- /dev/null +++ b/.changes/unreleased/ENHANCEMENTS-20250512-164027.yaml @@ -0,0 +1,5 @@ +kind: ENHANCEMENTS +body: 'resource: Updated `ImportState` method to allow importing by resource identity and returning identity data from import response.' +time: 2025-05-12T16:40:27.088128-04:00 +custom: + Issue: "1126" diff --git a/.changes/unreleased/FEATURES-20250512-163215.yaml b/.changes/unreleased/FEATURES-20250512-163215.yaml new file mode 100644 index 000000000..276224d35 --- /dev/null +++ b/.changes/unreleased/FEATURES-20250512-163215.yaml @@ -0,0 +1,5 @@ +kind: FEATURES +body: 'tfsdk: Added `ResourceIdentity` struct to represent managed resource identity data.' +time: 2025-05-12T16:32:15.682993-04:00 +custom: + Issue: "1112" diff --git a/.changes/unreleased/FEATURES-20250512-163516.yaml b/.changes/unreleased/FEATURES-20250512-163516.yaml new file mode 100644 index 000000000..f5486eab2 --- /dev/null +++ b/.changes/unreleased/FEATURES-20250512-163516.yaml @@ -0,0 +1,5 @@ +kind: FEATURES +body: 'resource/identityschema: New package for implementing managed resource identity schemas.' +time: 2025-05-12T16:35:16.722291-04:00 +custom: + Issue: "1107" diff --git a/.changes/unreleased/FEATURES-20250512-164133.yaml b/.changes/unreleased/FEATURES-20250512-164133.yaml new file mode 100644 index 000000000..1de1e3a1d --- /dev/null +++ b/.changes/unreleased/FEATURES-20250512-164133.yaml @@ -0,0 +1,5 @@ +kind: FEATURES +body: 'resource: Added new `ImportStatePassthroughWithIdentity` helper that can support both identity and ID importing via a single field.' +time: 2025-05-12T16:41:33.806834-04:00 +custom: + Issue: "1134" diff --git a/.changes/unreleased/FEATURES-20250512-170510.yaml b/.changes/unreleased/FEATURES-20250512-170510.yaml new file mode 100644 index 000000000..26a2d125a --- /dev/null +++ b/.changes/unreleased/FEATURES-20250512-170510.yaml @@ -0,0 +1,5 @@ +kind: FEATURES +body: 'resource: Added `ResourceWithIdentity` interface for implementing managed resource identity.' +time: 2025-05-12T17:05:10.02242-04:00 +custom: + Issue: "1107" diff --git a/.changes/unreleased/upcoming-stable/NOTES-20250317-153311.yaml b/.changes/unreleased/NOTES-20250317-153311.yaml similarity index 100% rename from .changes/unreleased/upcoming-stable/NOTES-20250317-153311.yaml rename to .changes/unreleased/NOTES-20250317-153311.yaml diff --git a/.changes/unreleased/NOTES-20250512-164441.yaml b/.changes/unreleased/NOTES-20250512-164441.yaml new file mode 100644 index 000000000..f51049b8b --- /dev/null +++ b/.changes/unreleased/NOTES-20250512-164441.yaml @@ -0,0 +1,11 @@ +kind: NOTES +body: '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 configuration `import` blocks, available in Terraform v1.12+. The `resource.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 new `Identity` fields in the response objects on the resource CRUD methods.' +time: 2025-05-12T16:44:41.300908-04:00 +custom: + Issue: "1112"