cloud-formation-viz
cloud-formation-viz copied to clipboard
Support YAML
CloudFormation has been supporting YAML for months...
Hello @nikolay. I'm afraid I'm not using this tool myself at the moment and don't have the time to add YAML support myself. I'd be very happy to take a PR that add it. I'm not sure how closely the YAML CloudFormation syntax matches the JSON -- probably very closely. So it may just be a case of enhancing the first few lines of the main()
function.
You can use cfn-flip to achieve this end (a awslabs package written in python)
cat cloudformation.yaml | cfn-flip | ./cfviz | dot -Tsvg -oexample.svg
Thanks @distributedlife, that's very helpful.