Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support YAML #9

Open
nikolay opened this issue Jun 18, 2017 · 3 comments
Open

Support YAML #9

nikolay opened this issue Jun 18, 2017 · 3 comments

Comments

@nikolay
Copy link

nikolay commented Jun 18, 2017

CloudFormation has been supporting YAML for months...

@benbc
Copy link
Owner

benbc commented Jun 19, 2017

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.

@distributedlife
Copy link

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

@benbc
Copy link
Owner

benbc commented Jun 28, 2017

Thanks @distributedlife, that's very helpful.

@ensslen ensslen mentioned this issue Sep 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants