Skip to content

Commit

Permalink
Remove SSH from Azure security rule
Browse files Browse the repository at this point in the history
Signed-off-by: Ze Chen <[email protected]>
  • Loading branch information
zechen0 authored and alexellis committed Mar 3, 2020
1 parent 8f57c05 commit 1744d89
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkg/provision/azure.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,6 @@ func getSecurityRuleList(host BasicHost) []interface{} {
}
} else {
rules = []interface{}{
getSecurityRule("SSH", 300, "TCP", "22"),
getSecurityRule("HTTPS", 320, "TCP", "443"),
getSecurityRule("HTTP", 340, "TCP", "80"),
getSecurityRule("HTTP8080", 360, "TCP", "8080"),
Expand Down Expand Up @@ -309,7 +308,7 @@ func getTemplate(host BasicHost) map[string]interface{} {
"type": "string",
"value": "[reference(resourceId('Microsoft.Network/publicIPAddresses', parameters('publicIpAddressName')), '2019-02-01', 'Full').properties.ipAddress]",
// See also https://docs.microsoft.com/en-us/azure/azure-resource-manager/templates/template-functions-resource#reference
// See also https://docs.microsoft.com/en-us/azure/templates/microsoft.network/2019-02-01/publicipaddresses
// and https://docs.microsoft.com/en-us/azure/templates/microsoft.network/2019-02-01/publicipaddresses
},
},
}
Expand Down

0 comments on commit 1744d89

Please sign in to comment.