Allow outputting terraform-plugin-framework
types for documentation and LSP
#182
Labels
enhancement
New feature or request
non-protocol-info
Issues and PRs about surfacing information that Terraform doesn't need, but other clients do.
Use-cases
When Terraform outputs a provider schema, it only recognizes the built-in Terraform types, such as
String
,Number
,Bool
plus the collection types. The Terraform Plugin Framework overridesNumber
withInt64
andFloat64
types, plus providers can add custom types.The Terraform schema for
Int64
andFloat64
still reportsNumber
in the schema. Custom provider types will also report the underlying built-in Terraform type.Proposal
Since Terraform is unaware of Terraform Plugin Framework and custom provider types, this cannot be resolved in Terraform schema. Consider adding a gRPC server that can return richer schema information that can be consumed by tooling such as
terraform-plugin-docs
orterraform-ls
The text was updated successfully, but these errors were encountered: