Best Practice: While using for_each, always keep index key name different than display name of the resource. Problem statement: While creating multiple resources through terraform, we need to ensure that any modification to the resource names later shouldn’t require resource to be destroyed and recreated. …