Skip to content
Permalink
Browse files

Allow less inbound

  • Loading branch information
jmcshane committed Dec 23, 2019
1 parent c1545b4 commit ce1dc7d84e0d2db6d2cbe696b991fb3fcf04ee37
Showing with 3 additions and 3 deletions.
  1. +3 −3 main.tf
@@ -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

0 comments on commit ce1dc7d

Please sign in to comment.
You can’t perform that action at this time.