Skip to content

Commit

Permalink
i hate azure
Browse files Browse the repository at this point in the history
  • Loading branch information
Cameron Banowsky committed May 10, 2021
1 parent fba24f8 commit 9fb197a
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,25 @@ resource "azurerm_network_security_rule" "server_outbound" {
source_address_prefix = "*"
destination_address_prefix = "*"
}
#
# Dev/Example settings only
#
# Open up ssh on all the nodepools
resource "azurerm_network_security_rule" "ssh" {

name = "${local.uname}-ssh"
access = "Allow"
direction = "Inbound"
network_security_group_name = local.nodepool_nsgs[count.index]
priority = 201
protocol = "Tcp"
resource_group_name = azurerm_resource_group.quickstart.name

source_address_prefix = "*"
source_port_range = "*"
destination_address_prefix = "*"
destination_port_range = "22"
}

#
# Server Nodepool
Expand Down

0 comments on commit 9fb197a

Please sign in to comment.