- // Input is called to ask the provider to ask the user for input
- // for completing the configuration if necesarry.
+ // ProviderSchema returns the config schema for the main provider
+ // configuration, as would appear in a "provider" block in the
+ // configuration files.
+ //
+ // Currently not all providers support schema. Callers must therefore
+ // first call Resources and DataSources and ensure that at least one
+ // resource or data source has the SchemaAvailable flag set.
+ GetSchema(*ProviderSchemaRequest) (*ProviderSchema, error)
+
+ // Input was used prior to v0.12 to ask the provider to prompt the user
+ // for input to complete the configuration.