Created
October 12, 2025 14:43
-
-
Save valtoni/d7884de5f717075dc97aacc50eda0699 to your computer and use it in GitHub Desktop.
NSG Rule - Microsoft Store Winget
This file contains hidden or 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
| resource "azurerm_network_security_rule" "allow_winget" { | |
| name = "Allow-Winget-Microsoft" | |
| priority = 150 | |
| direction = "Outbound" | |
| access = "Allow" | |
| protocol = "Tcp" | |
| source_port_range = "*" | |
| destination_port_ranges = ["443"] | |
| source_address_prefix = "*" | |
| destination_address_prefixes = [ | |
| "AzureFrontDoor.Frontend", | |
| "AzureActiveDirectory" | |
| ] | |
| description = "Permite uso do Microsoft Winget e Microsoft Store" | |
| resource_group_name = azurerm_network_security_group.example.resource_group_name | |
| network_security_group_name = azurerm_network_security_group.example.name | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment