Skip to content

Commit

Permalink
Add tolist on ips
Browse files Browse the repository at this point in the history
  • Loading branch information
CalleB3 committed Nov 14, 2024
1 parent 90195f3 commit 1a4a532
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/azure/aks/nsg.tf
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ resource "azurerm_network_security_rule" "allow_internet_azure_lb" {
source_port_range = "*"
destination_port_range = "80,443"
source_address_prefix = "Internet"
destination_address_prefix = data.azurerm_resources.public_ips
destination_address_prefixes = tolist(tostring(data.azurerm_resources.public_ips))
resource_group_name = data.azurerm_resource_group.this.name
network_security_group_name = "nsg-${var.environment}-${var.location_short}-${var.core_name}-${var.name}${var.aks_name_suffix}"
}
Expand Down

0 comments on commit 1a4a532

Please sign in to comment.