Validating configuration
Monaco validates configuration files in a directory by performing a dry run. It will check whether your Dynatrace config files are in a valid JSON format and whether your tool configuration YAML files can be parsed and used.
To validate the configuration, execute a monaco --dry-run
on a YAML file as shown below.
Validating your configuration
monaco --dry-run --environments=environments.yaml
Validating your configuration using the new CLI
To validate your configuration using the new CLI, add the --dry-run
flag to the deploy
command.
Validating your configuration using the new CLI
NEW_CLI=1 monaco deploy --dry-run --environments=environments.yaml