Feature Request: Output when an imported resource is also changed in the same plan #930
-
Feature OverviewCurrently imports are only output if there are no subsequent changes to them. If an import is changed within the same plan they are output as updates. For example, with a plan like: # resource.default will be updated in-place
# (imported from "my_resource")
~ resource "resource" "default" {
id = "my_resource"
- labels = {}
}
Plan: 1 to import, 0 to add, 1 to change, 0 to destroy. The following is output by tfcmt:
This feature would include the resource in the list of imports:
Why is the feature needed?It would be very useful to see if an imported resource is changed within the same plan. Does the feature include Breaking Changes?Not as far as I'm aware. Example CodeNo response ReferenceNo response |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 5 replies
-
Thank you for your feedback! I'll take a look. Line 73 in 912cb43 Lines 176 to 177 in 912cb43 |
Beta Was this translation helpful? Give feedback.
-
There are several options.
|
Beta Was this translation helpful? Give feedback.
tfcmt v4.6.0 is out 🚀
https://github.com/suzuki-shunsuke/tfcmt/releases/tag/v4.6.0