You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If there are no changes on resources, tfcmt should report it as anno-changes label.
Why is the feature needed?
When no moved block is used and no changes happen, tfcmt report no-changes label. However if I use moved block and result was no changes, tfcmt reports it as an add-or-update label. I would expect tfcmt to report no-changes, because moved block is just a refactoring code and no resource changes are happen.
Following to official doc, tfcmt's label is tareget to resource change identification, NOT state change... I believe.
no-changes: there is no resource to be changed
add-or-update: there are resources to be created or updated but there is no resource to be destroyed or recreated
destroy: there are resources to be destroyed or recreated
Example Code
$ tfcmt plan -patch -- terraform plan -no-color
Configuration
moved {from = old_module.reousrce.mainto = new_module.resource.main}
note
If tfcmt is looking state change, then current behaiviour is correct.
The text was updated successfully, but these errors were encountered:
Feature Overview
If there are no changes on resources, tfcmt should report it as an
no-changes
label.Why is the feature needed?
When no
moved
block is used and no changes happen, tfcmt reportno-changes
label. However if I usemoved
block and result was no changes, tfcmt reports it as anadd-or-update
label. I would expect tfcmt to reportno-changes
, becausemoved
block is just a refactoring code and no resource changes are happen.Following to official doc, tfcmt's label is tareget to resource change identification, NOT state change... I believe.
Example Code
$ tfcmt plan -patch -- terraform plan -no-color
Configuration
note
If tfcmt is looking state change, then current behaiviour is correct.
The text was updated successfully, but these errors were encountered: