dineshba / tf-summarize

A command-line utility to print the summary of the terraform plan
MIT License
534 stars 38 forks source link

Add A Machine Readable Output Option #53

Closed fergoid closed 1 year ago

fergoid commented 1 year ago

I love this utility and use it all the time. I would like the option of an unformatted / machine readable format. Maybe something like CSV or JSON. My use case is to parse the output and create a list of IAM permissions based on it that could be used in a role to support the Terraform on AWS.

dineshba commented 1 year ago

Thanks for your feedback 👍🏽

Will this be helpful ? tf-summarize -json tfplan

fergoid commented 1 year ago

Thanks for your feedback 👍🏽

Will this be helpful ? tf-summarize -json tfplan

Looks good, happy to try and create the PR if you like?

dineshba commented 1 year ago

It is already available. Can you try it and let see if the expected feature is already there.

fergoid commented 1 year ago

thanks it isn't quite what i needed so we can close this now

dineshba commented 1 year ago

Okay sure. Thanks for the update