Skip to content

Commit

Permalink
Remove extra security rule
Browse files Browse the repository at this point in the history
  • Loading branch information
halprin committed Feb 19, 2024
1 parent aaab1d9 commit 2dc4fa9
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions operations/template/net.tf
Original file line number Diff line number Diff line change
Expand Up @@ -98,20 +98,6 @@ resource "azurerm_network_security_rule" "allow_postgres_from_everywhere" {
destination_address_prefix = "*"
}

resource "azurerm_network_security_rule" "example" {
name = "test123"
priority = 100
direction = "Outbound"
access = "Allow"
protocol = "Tcp"
source_port_range = "*"
destination_port_range = "*"
source_address_prefix = "*"
destination_address_prefix = "*"
resource_group_name = azurerm_resource_group.example.name
network_security_group_name = azurerm_network_security_group.example.name
}

resource "azurerm_subnet_network_security_group_association" "app_security_group" {
subnet_id = azurerm_subnet.app.id
network_security_group_id = data.azurerm_network_security_group.security_group.id
Expand Down

0 comments on commit 2dc4fa9

Please sign in to comment.