terraform-plugin-framework icon indicating copy to clipboard operation
terraform-plugin-framework copied to clipboard

ephemeral: Initial ephemeral resource type implementation

Open austinvalle opened this issue 3 months ago • 0 comments

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)
  • Implementation of the ValidateEphemeralResourceConfig, OpenEphemeralResource, RenewEphemeralResource, and CloseEphemeralResource RPCs in the internal framework server, proto5/6 servers, and data handling between all layers
  • Addition of ephemeral resources into existing GetProviderSchema and GetMetadata 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

austinvalle avatar Oct 28 '24 16:10 austinvalle