flosell / iam-policy-json-to-terraform

Small tool to convert an IAM Policy in JSON format into a Terraform aws_iam_policy_document
https://flosell.github.io/iam-policy-json-to-terraform/
Apache License 2.0
774 stars 58 forks source link

Web frontend on github pages using gopherjs #24

Closed nitrocode closed 2 years ago

nitrocode commented 3 years ago

I came across this project https://github.com/gopherjs/gopherjs and it seems like it would be possible to transpile golang to js and reuse the code base to build a frontend for this tool which can then be backed by github pages.

Imagine going to the website, pasting the json iam policy there, and having it convert to the terraform data source.

Low priority, nice to have, and possibly a fun weekend project for someone (maybe me...maybe 😄 )

flosell commented 3 years ago

That's an awesome idea, thanks for that! Actually ended up being a weekend project for me :)

Not pretty yet but functional: https://flosell.github.io/iam-policy-json-to-terraform/

What do you think?

flosell commented 2 years ago

Closing this issue and creating a bunch of new ones to work on enhancements

nitrocode commented 2 years ago

@flosell that's amazing! thank you so much