Converting a CloudFormation Template from JSON to YAML

Sep 26, 2016 10:34:10 AM Flux7 Labs Developer Tools and Processes, Management Tools and Processes, Lowering Maintenance, AWS CloudFormation

json to yaml

In our blog last week we told you that AWS CloudFormation has grown its support beyond JSON to include YAML. Prior to the announcement, our AWS consultants had been writing in YAML and used an in-house YAML CloudFormation generator to help us avoid the typical pain points associated with JSON. We promised in that article to share with you instructions on how to convert existing JSON CloudFormation templates into YAML and are delivering on that promise today.

Our AWS CloudFormation experts have assembled the following single standard CloudFormation JSON to YAML converter.


As you can see, the conversion is straightforward with expected results. The advantage to using YAML in creating your CloudFormation templates rests in YAML’s clean syntax. Unlike JSON, with YAML you don’t have to keep track of the many JSON braces and commas which can cause unnecessary headaches and delays.

We work with several organizations that have embraced YAML and will be telling their stories in an upcoming blog. 

 To read more about CloudFormation, please see our other blogs at this link.


Did you find this useful?  

Interested in getting tips, best practices and commentary delivered regularly? Click the button below to sign up for our blog.

 Subscribe to the Flux7 Blog


Written by Flux7 Labs

Flux7 is the only Sherpa on the DevOps journey that assesses, designs, and teaches while implementing a holistic solution for its enterprise customers, thus giving its clients the skills needed to manage and expand on the technology moving forward. Not a reseller or an MSP, Flux7 recommendations are 100% focused on customer requirements and creating the most efficient infrastructure possible that automates operations, streamlines and enhances development, and supports specific business goals.

Subscribe Here!

Posts by Topic

see all

Recent Posts