Skip to content

Complete Terraform Protocol Implementation

This page documents the supplemental provider RPC groups that sit beyond the basic resource lifecycle methods.

Core Lifecycle RPCs

The main resource path is still:

  • configure provider
  • validate resource config
  • plan resource change
  • apply resource change
  • read or import resource state

Those are exposed through ProviderProtocolClient and used by hybrid execution during normal orchestration.

Supplemental RPC Groups

The current codebase also exposes additional provider operations through ProviderProtocolClient and ProviderSupplementalOperations.

Data Sources

  • validate_data_resource_config(...)
  • read_data_source(...)

State And Identity Upgrades

  • upgrade_resource_state(...)
  • get_resource_identity_schemas()
  • upgrade_resource_identity(...)

Functions

  • get_functions()
  • call_function(...)

Metadata And Provider Validation

  • get_metadata()
  • validate_provider_config(...)

Ephemeral Resources

  • validate_ephemeral_resource_config(...)
  • open_ephemeral_resource(...)
  • renew_ephemeral_resource(...)
  • close_ephemeral_resource(...)

Resource Listing

  • list_resource(...)

Why This Matters

These RPCs support:

  • richer hybrid execution tooling
  • discovery and inspection workflows
  • migration and state upgrade utilities
  • provider-specific advanced capabilities that go beyond create/update/delete