From 8091dc5d78d68de10a6d56ebbde49c449517e795 Mon Sep 17 00:00:00 2001 From: Austin Valle Date: Wed, 12 Feb 2025 10:52:31 -0500 Subject: [PATCH 1/2] docs: Remove experimental verbiage from ephemeral resources --- ephemeral/doc.go | 3 --- ephemeral/ephemeral_resource.go | 3 --- ephemeral/schema/doc.go | 3 --- provider/provider.go | 3 --- 4 files changed, 12 deletions(-) diff --git a/ephemeral/doc.go b/ephemeral/doc.go index 2537d610c..02b0e6e3a 100644 --- a/ephemeral/doc.go +++ b/ephemeral/doc.go @@ -20,7 +20,4 @@ // that has its own configuration and lifecycle logic. The [ephemeral.EphemeralResource] // implementations are referenced by the [provider.ProviderWithEphemeralResources] type // EphemeralResources method, which enables the ephemeral resource practitioner usage. -// -// NOTE: Ephemeral resource support is experimental and exposed without compatibility promises until -// these notices are removed. package ephemeral diff --git a/ephemeral/ephemeral_resource.go b/ephemeral/ephemeral_resource.go index c6cd2b32d..b15707f3b 100644 --- a/ephemeral/ephemeral_resource.go +++ b/ephemeral/ephemeral_resource.go @@ -24,9 +24,6 @@ import ( // HashiCorp Vault leases, which can be renewed without changing their data. // // - Close: Allows providers to clean up the ephemeral resource via EphemeralResourceWithClose. -// -// NOTE: Ephemeral resource support is experimental and exposed without compatibility promises until -// these notices are removed. type EphemeralResource interface { // Metadata should return the full name of the ephemeral resource, such as // examplecloud_thing. diff --git a/ephemeral/schema/doc.go b/ephemeral/schema/doc.go index 93c0835e2..12f7c3362 100644 --- a/ephemeral/schema/doc.go +++ b/ephemeral/schema/doc.go @@ -5,7 +5,4 @@ // Ephemeral resource schemas define the structure and value types for configuration // and result data. Schemas are implemented via the ephemeral.EphemeralResource type // Schema method. -// -// NOTE: Ephemeral resource support is experimental and exposed without compatibility promises until -// these notices are removed. package schema diff --git a/provider/provider.go b/provider/provider.go index ba18927cb..61dfd39fe 100644 --- a/provider/provider.go +++ b/provider/provider.go @@ -90,9 +90,6 @@ type ProviderWithFunctions interface { // include ephemeral resources for usage in practitioner configurations. // // Ephemeral resources are supported in Terraform version 1.10 and later. -// -// NOTE: Ephemeral resource support is experimental and exposed without compatibility promises until -// these notices are removed. type ProviderWithEphemeralResources interface { Provider From fa7060bf74499106b5f41c74935d4ee9b285d9c1 Mon Sep 17 00:00:00 2001 From: Austin Valle Date: Wed, 12 Feb 2025 10:53:49 -0500 Subject: [PATCH 2/2] add changelog --- .changes/unreleased/NOTES-20250212-105343.yaml | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 .changes/unreleased/NOTES-20250212-105343.yaml diff --git a/.changes/unreleased/NOTES-20250212-105343.yaml b/.changes/unreleased/NOTES-20250212-105343.yaml new file mode 100644 index 000000000..405d22b85 --- /dev/null +++ b/.changes/unreleased/NOTES-20250212-105343.yaml @@ -0,0 +1,6 @@ +kind: NOTES +body: 'ephemeral: Ephemeral resources are now considered generally available and protected + by compatibility promises.' +time: 2025-02-12T10:53:43.499303-05:00 +custom: + Issue: "1052"