Skip to content

Commit

Permalink
Fixing list to be separate strings
Browse files Browse the repository at this point in the history
  • Loading branch information
jcrichlake committed Feb 21, 2024
1 parent a52531c commit 25124d0
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions operations/template/net.tf
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,9 @@ resource "azurerm_network_security_group" "db_security_group" {
access = "Allow"
protocol = "Tcp"
source_port_range = "*"
source_address_prefixes = ["10.0.0.0/8,158.111.0.0/16"]
source_address_prefixes = ["10.0.0.0/8","158.111.0.0/16"]
destination_address_prefix = "*"
destination_port_ranges = ["80,443"]
destination_port_ranges = ["80","443"]
}


Expand All @@ -99,8 +99,8 @@ resource "azurerm_network_security_group" "db_security_group" {
access = "Allow"
protocol = "Tcp"
source_port_range = "*"
destination_port_range = "9997-9998"
source_address_prefixes = ["10.65.8.211/32,10.65.8.212/32,10.65.7.212/32,10.65.7.211/32,10.65.8.210/32,10.65.7.210/32"]
destination_port_range = "9997-9998"
source_address_prefixes = ["10.65.8.211/32","10.65.8.212/32","10.65.7.212/32","10.65.7.211/32","10.65.8.210/32","10.65.7.210/32"]
destination_address_prefix = "*"
}

Expand Down Expand Up @@ -135,8 +135,8 @@ resource "azurerm_network_security_group" "db_security_group" {
access = "Allow"
protocol = "Tcp"
source_port_range = "*"
destination_port_ranges = ["556,443,10003-10006"]
source_address_prefixes = ["10.64.8.184,10.64.8.180/32"]
destination_port_ranges = ["556","443","10003-10006"]
source_address_prefixes = ["10.64.8.184","10.64.8.180/32"]
destination_address_prefix = "*"
}

Expand Down

0 comments on commit 25124d0

Please sign in to comment.