Skip to content

Commit

Permalink
Adding WebSphere network security rule
Browse files Browse the repository at this point in the history
  • Loading branch information
twerthi committed Feb 15, 2022
1 parent eb163b7 commit 4c47804
Showing 1 changed file with 14 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,4 +76,18 @@ resource "azurerm_network_security_rule" "webserver_thirdly" {
destination_address_prefix = "*"
resource_group_name = azurerm_resource_group.permanent.name
network_security_group_name = azurerm_network_security_group.permanent.name
}

resource "azurerm_network_security_rule" "webserver_fourthly" {
name = "Webserver_fourthly"
priority = 600
direction = "Inbound"
access = "Allow"
protocol = "Tcp"
source_port_range = "*"
destination_port_range = "9080"
source_address_prefix = "*"
destination_address_prefix = "*"
resource_group_name = azurerm_resource_group.permanent.name
network_security_group_name = azurerm_network_security_group.permanent.name
}

0 comments on commit 4c47804

Please sign in to comment.