Created
February 20, 2022 16:25
-
-
Save johnlokerse/be8728386612cb8cca92fc943aed9d56 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Implicit dependency | |
resource nsg 'Microsoft.Network/networkSecurityGroups@2019-11-01' = { | |
name: 'euw-nsg-vm' | |
location: resourceGroup().location | |
} | |
resource nsgRule 'Microsoft.Network/networkSecurityGroups/securityRules@2019-11-01' = { | |
name: '${nsg}/AllowAllRule' | |
properties: { | |
description: 'Allow all' | |
protocol: '*' | |
sourcePortRange: '*' | |
destinationPortRange: '*' | |
sourceAddressPrefix: '*' | |
destinationAddressPrefix: '*' | |
access: 'Allow' | |
priority: 100 | |
direction: 'Inbound' | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment