You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Terraform 1.6 is introducing new functionality which can greatly reduce memory utilization when there are multiple instances of same provider type, by only calling the GetProviderSchema RPC against one provider instance. This can be accomplished by the provider signaling to core that the GetProviderSchema RPC is not required before other RPCs. To support this enhancement with terraform-plugin-mux use cases, a lighter-weight GetMetadata RPC is being introduced which only returns server capabilities and resource type names.
Proposal
Update terraform-plugin-go dependency with protocol version 5.4/6.4 changes. Enable GetProviderSchemaOptional server capability, as none of the functionality of this SDK is reliant on RPC ordering, and implement the GetMetadata RPC.
It is anticipated that providers needing the memory usage improvements will upgrade these Go module dependencies at once:
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Module version
Use-cases
Terraform 1.6 is introducing new functionality which can greatly reduce memory utilization when there are multiple instances of same provider type, by only calling the
GetProviderSchema
RPC against one provider instance. This can be accomplished by the provider signaling to core that theGetProviderSchema
RPC is not required before other RPCs. To support this enhancement with terraform-plugin-mux use cases, a lighter-weightGetMetadata
RPC is being introduced which only returns server capabilities and resource type names.Proposal
Update terraform-plugin-go dependency with protocol version 5.4/6.4 changes. Enable
GetProviderSchemaOptional
server capability, as none of the functionality of this SDK is reliant on RPC ordering, and implement theGetMetadata
RPC.It is anticipated that providers needing the memory usage improvements will upgrade these Go module dependencies at once:
References
get_provider_schema_optional
server capability terraform#33486The text was updated successfully, but these errors were encountered: