github cloudposse/atmos v1.4.13

latest releases: v1.71.0, v1.70.0, v1.69.0...
2 years ago

what

  • Improve error handling and error messages
  • Add atmos validate stacks command

why

  • Check and validate all YAML files in the stacks folder
  • Detect invalid YAML and print the file names and the line numbers

test

atmos validate stacks
Invalid YAML file 'catalog/invalid-yaml/invalid-yaml-1.yaml'
yaml: line 15: found unknown directive name

Invalid YAML file 'catalog/invalid-yaml/invalid-yaml-2.yaml'
yaml: line 16: could not find expected ':'

Invalid YAML file 'catalog/invalid-yaml/invalid-yaml-3.yaml'
yaml: line 13: did not find expected key

Invalid YAML file 'catalog/invalid-yaml/invalid-yaml-4.yaml'
yaml: block sequence entries are not allowed in this context

Invalid YAML file 'catalog/invalid-yaml/invalid-yaml-5.yaml'
yaml: mapping values are not allowed in this context

Invalid YAML file 'catalog/invalid-yaml/invalid-yaml-6.yaml'
yaml: line 2: block sequence entries are not allowed in this context

Invalid YAML file 'catalog/invalid-yaml/invalid-yaml-7.yaml'
yaml: line 4: could not find expected ':'

Don't miss a new atmos release

NewReleases is sending notifications on new releases.