terraform icon indicating copy to clipboard operation
terraform copied to clipboard

Allowing to hide some changes in plan

Open adampoplawski opened this issue 1 year ago • 6 comments

Terraform Version

v1.6.6

Use Cases

Hello I would like to have the ability to not show some particular changes in terraform plan. The use case would be, in my particular case, to ignore changes in tags, but update those. Example

  1. I have already state with let's say 10 taggable resources.
  2. I am changing one of those resources with new functionality.
  3. In addition to this change I need to update the version tag
  4. In Plan I see a lot of changes because I have 1 "business" change + 10 tags changes.

It would be easier for me to look at the plan if I had the opportunity to "hide" tags changes, and not have "noise" that in other 9 resources also needs an update.

I think it may be not following terraforms idea of how to use the plan but from my user experience it would be useful

Attempted Solutions

Maybe we could extend somehow lifecycle, to mark that for this particular resource, to update tags but not show that in plan.

Proposal

No response

References

No response

adampoplawski avatar Dec 15 '23 08:12 adampoplawski