"az network nsg rule update" does not accept asterisk as a value for source or destination prefix
See original GitHub issueEnvironment summary
azure-cli (2.0.20) in MacOS installed with pip.
Docs here use asterisk in the example but I get the following error message when I try to use asterisk for --source-address-prefixes
or --destination-address-prefixes
.
az network nsg rule update --nsg-name k8s-master-79A38D6D-nsg -g oguzp-acs --name allow_kube_tls --source-address-prefixes * --destination-address-prefixes *
Security rule /subscriptions/*******/resourceGroups/oguzp-acs/providers/Microsoft.Network/networkSecurityGroups/k8s-master-79A38D6D-nsg/securityRules/allow_kube_tls has invalid Address prefix. Value provided: $(curl
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
az network nsg rule | Microsoft Learn
az network nsg rule · Reference. Feedback · --access. accepted values: Allow, Deny · --destination-address-prefixes default value: * · --destination-port-ranges.
Read more >Append NSG Rule - AzAdvertizer
Append NSG Rule - This Policy will append a rule to newly deployed NSGs.
Read more >Azure Terraform NSG rule creation ERROR for ...
It fails because of "destination_address_prefix ": "AzureMonitor" Terraform somehow does not accept "AzureMonitor" as destination_address_prefix ...
Read more >How to Set up an Azure Firewall (And Why Not NSGS)
An NSG is a layer 3-4 Azure service to control network traffic to ... You should not specify an asterisk (*) for the...
Read more >Manage Azure network security groups - Ansible Documentation
The destination address prefix. CIDR or destination IP range. Asterisk * can also be used to match all source IPs. Default tags such...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@tjprescott Thoughts on modifying the documentation to include the quotes? FYI: @sptramer
Try wrapping the * in single quotes?