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

Feature request: Converting YAML to JSON #1523

Open
MohamedMansourElshabrawy opened this issue Mar 10, 2023 · 1 comment · May be fixed by #1564
Open

Feature request: Converting YAML to JSON #1523

MohamedMansourElshabrawy opened this issue Mar 10, 2023 · 1 comment · May be fixed by #1564
Labels

Comments

@MohamedMansourElshabrawy

Is your feature request related to a problem? Please describe.
It's always been tricky to write AWS resources policies in YAML format files and verify that the written policy is right. The only way to do that is to actually deploy the piece of YAML code into my personal AWS account, then check manually if the policy is correctly implemented by interpretting the output JSON policy. This process if done many times throughout the day, it would consume hours, just to get the YAML policy as expected, syntactically and logically.

Describe the solution you'd like
If the CyberChef tool could offer the YAML to JSON, and vise versa, conversions, that would improve the productivity and efficiency by at least 60%.

Describe alternatives you've considered
The alternative I used to do is the manual deploy and manual check. If CloudFormation failed for any reason, I'll need to delete the stack, go back to fix the YAML code, redeploy and repeat, till successful deployment. Afterwards, I'll need to go into the created resources and interpret the JSON policies manually. Imagine the rework if an error is found again in the policy!

Additional context
I could provide upon request :)

@depperm depperm linked a pull request Apr 19, 2023 that will close this issue
@colezlaw
Copy link

I would love to see this added (as well as TOML, and maybe even HCL).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants