Terraform forces undesirable replacement on resources


After adding or just confirming the sync of my infrastructure the terraform plan is showing that some resources must be replaced. The replacements are mainly affecting the network interfaces of ECS and thus presumably lead to a replacement on the ecs parameters. I wonder why terraform is forcing the replacement since nothing has been changed.

The output of the plan is attached.
tf_plan.txt (69.7 KB)

Would be grateful for any help.

Hi @dashraf,

We can’t really determine what is happening or why without the accompanying configuration to see what the actual references are between resources. The plan lines commented with forces replacement show what changes the provider declared caused the replacement of individual resource instances, which can be traced back through the configuration to find the root cause.