dineshba / tf-summarize

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

Feature: markdown table #2

Closed czerasz-mineiros closed 2 years ago

czerasz-mineiros commented 2 years ago
tf-summarize -md tfplan

returns markdown like this:

CHANGE NAME
add module.test-only.github_branch_protection_v3.branch_protection[0]
module.test-only.github_repository.repository
module.test-only.github_team_repository.team_repository_by_slug["xxxxxx"]
module.test-only.github_team_repository.team_repository_by_slug["yyyyyyyyyyy"]

Useful when sending summary as GitHub comment on PR

dineshba commented 2 years ago

This is very useful @czerasz-mineiros ... Code changes looks good. I will try to run once in my local and merge it.

Thanks for the contribution @czerasz-mineiros

dineshba commented 2 years ago

Released as part of https://github.com/dineshba/tf-summarize/releases/tag/v0.2.2