skip to Main Content

Azure – get all the values from terraform for_each block in output

I am trying to fetch the private ip address from the below terraform block. resource "azurerm_private_endpoint" "private_endpoint_openAI" { for_each = var.private_endpoint_landing_zone_pe provider = azurerm.sub_private_endpoint_landing_zone name = each.key custom_network_interface_name = "${each.key}-nic" location = each.value.location resource_group_name = each.value.rg_name subnet_id = each.value.subnet_id tags…

VIEW QUESTION
Back To Top
Search