Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resource group name fails common-types pattern when creating resources #14208

Closed
arwong opened this issue Apr 30, 2021 · 2 comments
Closed

Resource group name fails common-types pattern when creating resources #14208

arwong opened this issue Apr 30, 2021 · 2 comments
Labels
ARM - Core Service Attention Workflow: This issue is responsible by Azure service team.

Comments

@arwong
Copy link

arwong commented Apr 30, 2021

Creating a Microsoft.Bing resource fails for existing resource groups with special characters in the name, such as Japanese 西日本, due to pattern validation on the resource group name.

{"code":"DeploymentFailed","message":"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/DeployOperations for usage details.","details":[{"code":"Pattern","message":"String does not match pattern ^[-\\w\\._\\(\\)]+$: 西日本. Paths in payload: '.path.resourceGroupName'"}]}

It is using the common ResourceGroupNameParameter which has that pattern:

Note that this is the same problematic regex as in #13136 but in a different file.

@ghost ghost added the needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. label Apr 30, 2021
@arwong arwong changed the title Resource group name fails pattern when creating resources Resource group name fails common-types pattern when creating resources Apr 30, 2021
@ghost ghost removed the needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. label May 3, 2021
@raych1 raych1 added the Service Attention Workflow: This issue is responsible by Azure service team. label May 3, 2021
@ghost
Copy link

ghost commented May 3, 2021

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @armleads-azure.

Issue Details

Creating a Microsoft.Bing resource fails for existing resource groups with special characters in the name, such as Japanese 西日本, due to pattern validation on the resource group name.

{"code":"DeploymentFailed","message":"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/DeployOperations for usage details.","details":[{"code":"Pattern","message":"String does not match pattern ^[-\\w\\._\\(\\)]+$: 西日本. Paths in payload: '.path.resourceGroupName'"}]}

It is using the common ResourceGroupNameParameter which has that pattern:

Note that this is the same problematic regex as in #13136 but in a different file.

Author: arwong
Assignees: ruowan
Labels:

ARM - Core, Service Attention

Milestone: -

@tjegbejimba
Copy link
Contributor

Fix has been merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ARM - Core Service Attention Workflow: This issue is responsible by Azure service team.
Projects
None yet
Development

No branches or pull requests

4 participants