From bd664aecc88ff5263c202790b3ea9fa0c6e0d1e0 Mon Sep 17 00:00:00 2001 From: Austin Valle Date: Mon, 12 May 2025 16:26:51 -0400 Subject: [PATCH 1/4] move go module update note --- .../unreleased/{upcoming-stable => }/NOTES-20250317-153311.yaml | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .changes/unreleased/{upcoming-stable => }/NOTES-20250317-153311.yaml (100%) 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 From e5d8a7da0e9ff122f44b355475b14ec51fddf73a Mon Sep 17 00:00:00 2001 From: Austin Valle Date: Mon, 12 May 2025 16:56:33 -0400 Subject: [PATCH 2/4] add changelogs --- .changes/unreleased/ENHANCEMENTS-20250512-163647.yaml | 5 +++++ .changes/unreleased/ENHANCEMENTS-20250512-163846.yaml | 5 +++++ .changes/unreleased/ENHANCEMENTS-20250512-164027.yaml | 5 +++++ .changes/unreleased/FEATURES-20250512-163215.yaml | 5 +++++ .changes/unreleased/FEATURES-20250512-163516.yaml | 5 +++++ .changes/unreleased/FEATURES-20250512-164133.yaml | 5 +++++ .changes/unreleased/NOTES-20250512-164441.yaml | 9 +++++++++ 7 files changed, 39 insertions(+) create mode 100644 .changes/unreleased/ENHANCEMENTS-20250512-163647.yaml create mode 100644 .changes/unreleased/ENHANCEMENTS-20250512-163846.yaml create mode 100644 .changes/unreleased/ENHANCEMENTS-20250512-164027.yaml create mode 100644 .changes/unreleased/FEATURES-20250512-163215.yaml create mode 100644 .changes/unreleased/FEATURES-20250512-163516.yaml create mode 100644 .changes/unreleased/FEATURES-20250512-164133.yaml create mode 100644 .changes/unreleased/NOTES-20250512-164441.yaml diff --git a/.changes/unreleased/ENHANCEMENTS-20250512-163647.yaml b/.changes/unreleased/ENHANCEMENTS-20250512-163647.yaml new file mode 100644 index 000000000..8b7db5aa0 --- /dev/null +++ b/.changes/unreleased/ENHANCEMENTS-20250512-163647.yaml @@ -0,0 +1,5 @@ +kind: ENHANCEMENTS +body: 'resource: Added `ResourceWithIdentity` interface for implementing managed resource identity.' +time: 2025-05-12T16:36:47.571595-04:00 +custom: + Issue: "1107" 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/NOTES-20250512-164441.yaml b/.changes/unreleased/NOTES-20250512-164441.yaml new file mode 100644 index 000000000..056a7b65d --- /dev/null +++ b/.changes/unreleased/NOTES-20250512-164441.yaml @@ -0,0 +1,9 @@ +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+.' +time: 2025-05-12T16:44:41.300908-04:00 +custom: + Issue: "1112" From 41fa77420974ebf85ea46f72b0f22ffb83e0095e Mon Sep 17 00:00:00 2001 From: Austin Valle Date: Mon, 12 May 2025 16:59:11 -0400 Subject: [PATCH 3/4] add more --- .changes/unreleased/NOTES-20250512-164441.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.changes/unreleased/NOTES-20250512-164441.yaml b/.changes/unreleased/NOTES-20250512-164441.yaml index 056a7b65d..f51049b8b 100644 --- a/.changes/unreleased/NOTES-20250512-164441.yaml +++ b/.changes/unreleased/NOTES-20250512-164441.yaml @@ -3,7 +3,9 @@ body: 'all: This release contains a new interface and package for implmenting ma 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+.' + 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" From 66c81be370c41cb8c1fbd62d2315f27bd0308896 Mon Sep 17 00:00:00 2001 From: Austin Valle Date: Mon, 12 May 2025 17:05:25 -0400 Subject: [PATCH 4/4] change enhancement to feature --- ...NTS-20250512-163647.yaml => FEATURES-20250512-170510.yaml} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename .changes/unreleased/{ENHANCEMENTS-20250512-163647.yaml => FEATURES-20250512-170510.yaml} (68%) diff --git a/.changes/unreleased/ENHANCEMENTS-20250512-163647.yaml b/.changes/unreleased/FEATURES-20250512-170510.yaml similarity index 68% rename from .changes/unreleased/ENHANCEMENTS-20250512-163647.yaml rename to .changes/unreleased/FEATURES-20250512-170510.yaml index 8b7db5aa0..26a2d125a 100644 --- a/.changes/unreleased/ENHANCEMENTS-20250512-163647.yaml +++ b/.changes/unreleased/FEATURES-20250512-170510.yaml @@ -1,5 +1,5 @@ -kind: ENHANCEMENTS +kind: FEATURES body: 'resource: Added `ResourceWithIdentity` interface for implementing managed resource identity.' -time: 2025-05-12T16:36:47.571595-04:00 +time: 2025-05-12T17:05:10.02242-04:00 custom: Issue: "1107"