Azure / Azure/bicep

Module deployment name with space validated but fails deploy

Open
#5,922 8 comments 1 reaction 0 assignees View on GitHub
enhancement good first issue intermediate language
Dominant language
Bicep
Stars
3.6k
Forks
830
Avg merge
1d 21m
Merged PRs (30d)
79

Description

**2.198.0**

**Describe the bug**
The name attribute of a module can contain a space and be validated by what-if, but the deployment will fail.

**To Reproduce**
`module vnetModule 'vnet.bicep' = {
name: 'vnet deploy'
params: {
}
}`
az deployment group what-if
az deployment group create
**Additional context**
Add any other context about the problem here.
AzureCLI@2 task in Azure DevOps.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the example with `az deployment group what-if` and `az deployment group create`, then trace how module names are validated and passed to deployment. Done means a module name containing a space is either consistently rejected during validation or deploys successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure
Domain
cloud, infrastructure
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.