Validate Config Command
Validate a configuration JSON file.
kbc local validate config component.id config.json [flags]Each component definition optionally contains a schema of the configuration parameters key.
The command validates the content of the specified JSON file against the schema. It can be used both in a project local directory and also separately.
Options
Section titled “Options”Example
Section titled “Example”A successful run, the configuration is valid:
➜ kbc local validate config keboola.ex-azure-cost-management config.jsonValidation done.A validation error:
➜ kbc local validate config keboola.ex-azure-cost-management config.jsonError: missing properties: "subscriptionId"If there is no schema in the component definition, a warning is printed:
➜ kbc local validate config ex-generic-v2 config.jsonComponent "ex-generic-v2" has no configuration JSON schema.Validation done.