Skip to content

Commit

Permalink
tolist
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcalalang committed Jan 11, 2024
1 parent cfa687d commit cbfa0c2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions big-ip/terraform/infrastructure/azureBigipInstances.tf
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ resource "azurerm_network_security_group" "big-ip-management-sg" {
protocol = "Tcp"
source_port_range = "*"
destination_port_range = "22"
source_address_prefixes = list([var.allowed_ips])
source_address_prefixes = tolist([var.allowed_ips])
destination_address_prefix = "*"
}
security_rule {
Expand All @@ -182,7 +182,7 @@ resource "azurerm_network_security_group" "big-ip-management-sg" {
protocol = "Tcp"
source_port_range = "*"
destination_port_range = "443"
source_address_prefixes = list([var.allowed_ips])
source_address_prefixes = tolist([var.allowed_ips])
destination_address_prefix = "*"
}
security_rule {
Expand Down Expand Up @@ -221,7 +221,7 @@ resource "azurerm_network_security_group" "big-ip-external-sg" {
protocol = "Tcp"
source_port_range = "*"
destination_port_range = "443"
source_address_prefixes = list([var.allowed_ips])
source_address_prefixes = tolist([var.allowed_ips])
destination_address_prefix = "*"
}
tags = {
Expand Down

0 comments on commit cbfa0c2

Please sign in to comment.