AWS seems to be documenting new and changed features in json and moving away from providing examples in both yaml and json. Yaml is very touchy about format, spaces and indentation, but cloud formaation does not provide helpful error message as to what/why an item failed.
json is not affected by these types of issue and has a more consistent format than what has been implemented in yaml across different services and parameters.
AWS seems to be documenting new and changed features in json and moving away from providing examples in both yaml and json. Yaml is very touchy about format, spaces and indentation, but cloud formaation does not provide helpful error message as to what/why an item failed. json is not affected by these types of issue and has a more consistent format than what has been implemented in yaml across different services and parameters.