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
As explained in #354 and probably in some other related issues, we need to expand ways we source provider schemas.
We currently employ two mechanisms:
Terraform CLI (terraform providers schema -json)
preloading JSON export
which provide some basic coverage.
We plan to also source from the Registry API, but this is dependent on Registry changes: #193
Proposal
Source schema directly from provider binaries via existing gRPC protocol, i.e. effectively call GetSchema method to improve the coverage.
This means we will also need to extract the mechanism for discovering installed plugins in .terraform, which also differs between Terraform versions, so we know where to find the binaries and how to identify them.
If it proves to be reliable enough that it can be treated as equivalent to terraform providers schema -json we could remove the CLI method entirely.
The text was updated successfully, but these errors were encountered:
Current Version
Context
As explained in #354 and probably in some other related issues, we need to expand ways we source provider schemas.
We currently employ two mechanisms:
terraform providers schema -json
)which provide some basic coverage.
We plan to also source from the Registry API, but this is dependent on Registry changes: #193
Proposal
Source schema directly from provider binaries via existing gRPC protocol, i.e. effectively call
GetSchema
method to improve the coverage.This means we will also need to extract the mechanism for discovering installed plugins in
.terraform
, which also differs between Terraform versions, so we know where to find the binaries and how to identify them.If it proves to be reliable enough that it can be treated as equivalent to
terraform providers schema -json
we could remove the CLI method entirely.The text was updated successfully, but these errors were encountered: