Skip to content

Commit

Permalink
added ip_configurations to azurerm_private_endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
Darren Hull committed Jul 1, 2024
1 parent ab3a30e commit 80bdf64
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,16 @@ resource "azurerm_private_endpoint" "pep" {
)
}
}
dynamic "ip_configuration" {
for_each = can(var.settings.ip_configuration) ? [var.settings.ip_configuration] : []
content {
name = ip_configuration.value.name
private_ip_address = ip_configuration.value.private_ip_address
subresource_name = each.key
member_name = ip_configuration.value.member_name
}
}

lifecycle {
ignore_changes = [
resource_group_name, location
Expand Down

0 comments on commit 80bdf64

Please sign in to comment.