Testing Site Testing Site

skip to navigation
skip to content

cfnjsontoyaml 1.0.1

Latest Version: 1.0.4

cfnjsontoyaml

Convert JSON CloudFormation templates to YAML.

This would automatically convert Fn::Join functions to !Sub, and do its best to take advantage of the new tags.

Usage

cfn-json-to-yaml reads either from standard in, or takes the first argument as the template to ingest and prints the yaml converted template to stdout.

$ pip install cfnjsontoyaml
$ cat my_template.json | cfn-json-to-yaml

Problems

There are a wide range of combinations for functions in cloudformation. If you come across a template which does not render correctly, please try and isolate the fragment of json which is causing issues, and create an issue.

 
File Type Py Version Uploaded on Size
cfnjsontoyaml-1.0.1-py2.py3-none-any.whl (md5) Python Wheel py2.py3 2017-03-20 4KB
cfnjsontoyaml-1.0.1.tar.gz (md5) Source 2017-03-20 3KB