Skip to content

Instantly share code, notes, and snippets.

@imartinflores
Created June 30, 2023 14:30
Show Gist options
  • Save imartinflores/9479d2213d073b8a511c0b85ec7980c2 to your computer and use it in GitHub Desktop.
Save imartinflores/9479d2213d073b8a511c0b85ec7980c2 to your computer and use it in GitHub Desktop.
locals { 
secrules= {
 ssh = {
 name = "SSH"
 priority = 300
 direction = "Inbound"
 access = "Allow"
 protocol = "Tcp"
 source_port_range = "*"
 destination_port_range = "22"
 source_address_prefix = "ipaddress/portrange"
 destination_address_prefix = "*"
 }
 https = {
 name = "HTTPS"
 priority = 320
 direction = "Inbound"
 access = "Allow"
 protocol = "Tcp"
 source_port_range = "*"
 destination_port_range = "443"
 source_address_prefix = "ipaddress/portrange"
 destination_address_prefix = "*"
 }
 }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment