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
Alternatively the user may have an empty config and supply providers bundled via terraform-bundle.
Expected Behavior
I would expect terraform providers schema -json to have a flag which allows us to just dump schemas of all providers available from a given plugin directory.
Actual Behavior
Terraform parses config to figure out what providers are actually in use and only returns schema for those which are.
Relatedly terraform providers schema -json will error out if the config is invalid, e.g.
provider"github" {
org
}
provider"aws" {
}
Steps to Reproduce
terraform providers schema -json
Additional Context
This is somewhat necessary functionality for a Language Server as it may need to get/update schema of providers when config may be either invalid or non-existent.
The text was updated successfully, but these errors were encountered:
Terraform Version
Terraform Configuration Files
Alternatively the user may have an empty config and supply providers bundled via
terraform-bundle
.Expected Behavior
I would expect
terraform providers schema -json
to have a flag which allows us to just dump schemas of all providers available from a given plugin directory.Actual Behavior
Terraform parses config to figure out what providers are actually in use and only returns schema for those which are.
Relatedly
terraform providers schema -json
will error out if the config is invalid, e.g.Steps to Reproduce
Additional Context
This is somewhat necessary functionality for a Language Server as it may need to get/update schema of providers when config may be either invalid or non-existent.
The text was updated successfully, but these errors were encountered: