Terraform for_each with Maps for Stable Multi-Resource Addressing
Use Terraform for_each with a map to create multiple resources with stable addresses. The key becomes part of the resource address, preventing index drift that count causes on inserts and deletes.