Skip to content

Commit

Permalink
([var.allowed_ips])
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcalalang committed Jan 11, 2024
1 parent 4ba7c57 commit 313f19a
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 = tolist(split(", ", [var.allowed_ips]))
source_address_prefixes = ([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 = tolist(split(", ", [var.allowed_ips]))
source_address_prefixes = ([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 = tolist(split(", ", [var.allowed_ips]))
source_address_prefixes = ([var.allowed_ips])
destination_address_prefix = "*"
}
tags = {
Expand Down

0 comments on commit 313f19a

Please sign in to comment.