The for.each value was not set properly resulting in the following error:
│ on .terraform/modules/xxxx/main.private_endpoints.tf line 136, in resource "azurerm_private_endpoint" "slot_this_unmanaged_dns_zone_groups": │ 136: for_each = each.value.ip_configurations │ ├──────────────── │ │ each.value is object with 3 attributes │ │ This object does not have an attribute named "ip_configurations".
Setting the for each value to the proper object fixes the problem.
Description
The for.each value was not set properly resulting in the following error:
│ on .terraform/modules/xxxx/main.private_endpoints.tf line 136, in resource "azurerm_private_endpoint" "slot_this_unmanaged_dns_zone_groups": │ 136: for_each = each.value.ip_configurations │ ├──────────────── │ │ each.value is object with 3 attributes │ │ This object does not have an attribute named "ip_configurations".
Setting the for each value to the proper object fixes the problem.
-->
Type of Change
Checklist