Skip to content

Commit

Permalink
Allow less inbound
Browse files Browse the repository at this point in the history
  • Loading branch information
james.mcshane committed Dec 23, 2019
1 parent c1545b4 commit ce1dc7d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions main.tf
Expand Up @@ -9,14 +9,14 @@ resource "azurerm_network_security_group" "nsg" {
resource_group_name = azurerm_resource_group.rg.name
}

resource "azurerm_network_security_rule" "allow-everything" {
name = "allow-the-world"
resource "azurerm_network_security_rule" "allow-http" {
name = "http-traffic"
priority = 100
direction = "Inbound"
access = "Allow"
protocol = "Tcp"
source_port_range = "*"
destination_port_range = "*"
destination_port_range = "80"
source_address_prefix = "Internet"
destination_address_prefix = "VirtualNetwork"
resource_group_name = azurerm_resource_group.rg.name
Expand Down

0 comments on commit ce1dc7d

Please sign in to comment.