dineshba / tf-summarize

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

notation (-/+) and (+/-) #42

Closed millouzgc closed 9 months ago

millouzgc commented 1 year ago

Hello, the differentiation between the notation (-/+) and (+/-) is missing.

https://github.com/dineshba/tf-summarize/blob/c091e4e111dd8e7d16c2f920645c33e032c39e81/terraformstate/terraform_state.go#L50C1-L51C19

dineshba commented 1 year ago

Sure, we can change it to (-/+)

millouzgc commented 1 year ago

hello, I think it is necessary to add this notation in addition to the existing one and to determine the cases -/+ or +/-. The 2 notations exist and indicate: -/+: Deletion then creation +/-: Creation then deletion

dineshba commented 1 year ago

Sure, let me try to find the logic to do that. Feel free to create a PR also

dineshba commented 9 months ago

Closing this with https://github.com/dineshba/tf-summarize/pull/59