terraform-plugin-framework
terraform-plugin-framework copied to clipboard
ephemeral: Initial ephemeral resource type implementation
The next versions of the plugin protocol (5.7/6.7) include support for a new "ephemeral resource" type
This is an initial implementation of that support with:
- New
ephemeral
package with all exported Go types for provider developers to implement ephemeral resources.- New
ephemeral/schema
package with matching attribute schema support to the other schema supporting concepts (data sources, provider, and managed resources)
- New
- Implementation of the
ValidateEphemeralResourceConfig
,OpenEphemeralResource
,RenewEphemeralResource
, andCloseEphemeralResource
RPCs in the internal framework server, proto5/6 servers, and data handling between all layers - Addition of ephemeral resources into existing
GetProviderSchema
andGetMetadata
RPCs
This functionality will be released as technical preview without compatibility promises until Terraform 1.10 is generally available. Go and website documentation include additional callouts about the compatibility of this functionality.
Still TODO for this PR
- Initial website documentation