Azure / terraform-azurerm-avm-res-web-site

MIT License
17 stars 10 forks source link

Fix bug in slot private endpoint deployment #124

Closed niekvanraaij closed 1 month ago

niekvanraaij commented 1 month ago

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

niekvanraaij commented 1 month ago
@microsoft-github-policy-service agree

@microsoft-github-policy-service agree