terraform-plan-comment icon indicating copy to clipboard operation
terraform-plan-comment copied to clipboard

Incorrect "No Changes" Comment in TF Plan with Imports but No Other Actions

Open comozo opened this issue 1 year ago • 2 comments

Hello,

We've discovered an edge case worth addressing. In a TF plan with no changes—meaning no updates, deletes, or creations—but with an import, the action will incorrectly comment "no changes."

For instance:

Plan: 8 to import, 0 to add, 0 to change, 0 to destroy

image

comozo avatar Dec 03 '24 03:12 comozo

Nice catch! What would your desired solution be? Have a new section for "imported resources"?

borchero avatar Dec 27 '24 23:12 borchero

Another section with "Imports" would be nice

NicolajAaH avatar May 07 '25 09:05 NicolajAaH