Validation of resource group name has a bug!
See original GitHub issue
az feedback
auto-generates most of the information requested below, as of CLI version 2.0.62
Describe the bug
> az group show -g '""'
validation error: Parameter 'resource_group_name' must have length greater than 1.
Resource group name can be one character. The message misleads users.
To Reproduce
Expected behavior
Environment summary
Additional context
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
BUG:: Azure Resource Groups Validation Rules NOT ... - MSDN
I have been working with this naming for almost two years, should you expect I start recreating resourceGroups and move resources to otherΒ ......
Read more >BUG:: Azure Resource Groups Validation Rules NOT WORKING
Since we can't edit the name of created resource group, you may need to create a new resource group and move the resources...
Read more >Azure Resource Group Deployment
I am using "Azure Resource Group Deployment" task to deploy App Services in Azure via ARM template. The problem is with "Deployment Mode"....
Read more >Bug #1690369 βOS::Heat::ResourceGroup validation failed if ...
The image name was just an example. If you for example distribute fixed IPs or some other parameters which is verified in the...
Read more >Troubleshoot Terraform - HashiCorp Developer
Run terraform validate in your terminal. The output contains a cycle error that highlights a mutual dependency between two security group resources.
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
This is a issue related to
msrest
, I have opened a issue on their repo: Azure/msrest-for-python#219@qwordy This is fixed with valid error message now. az group show -g ββββ (InvalidResourceGroup) The provided resource group name ββββ has these invalid characters: ββββ. The name can only be a letter, digit, β-β, β.β, β(β, β)β or ββ. Code: InvalidResourceGroup Message: The provided resource group name ββββ has these invalid characters: ββββ. The name can only be a letter, digit, β-β, β.β, β(β, β)β or 'β.