suzuki-shunsuke/tfcmt

Detect Omit long plan automatically

Closed this issue · 4 comments

Feature Overview

Hi, this is working very well - #227

aws_elb.foo_a: Modifying... [id=foo-a-production]
aws_elb.foo_a: Modifications complete after 2s [id=foo-a-production]

# ...
# ... The maximum length of GitHub Comment is 65536, so the content is omitted by tfcmt.
# ...

Apply complete! Resources: 0 added, 1 changed, 0 destroyed.

However i would like to be able to detect the plan has been omitted and i would like add warning into the template. Something like "Plan is ommited" in this style

image

Thank you

Why is the feature needed?

To avoid confusion i.e. when using text search for specific change (why it is not in the plan)

Example Code

No response

note

No response

Thank you for your feedback!
It makes sense.

I'm working on this.

How about this?

image

--

image

I love that! Thank you

Thank you for your confirmation!

tfcmt v4.13.0 is out 🎉
https://github.com/suzuki-shunsuke/tfcmt/releases/tag/v4.13.0