Skip to main content

No project description provided

Project description

PyPI version

Code Issues


Build Status


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.


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


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.

Project details

Release history Release notifications

History Node


History Node


This version
History Node


History Node


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
cfnjsontoyaml-1.0.1-py2.py3-none-any.whl (5.0 kB) Copy SHA256 hash SHA256 Wheel py2.py3 Mar 20, 2017
cfnjsontoyaml-1.0.1.tar.gz (3.3 kB) Copy SHA256 hash SHA256 Source None Mar 20, 2017

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page