-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Parameter values that have spaces #25042
Copy link
Copy link
Open
Labels
Auto-AssignAuto assign by botAuto assign by botAzure CLI TeamThe command of the issue is owned by Azure CLI teamThe command of the issue is owned by Azure CLI teamComputeaz vm/vmss/image/disk/snapshotaz vm/vmss/image/disk/snapshotact-observability-squadcustomer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.feature-request
Milestone
Metadata
Metadata
Assignees
Labels
Auto-AssignAuto assign by botAuto assign by botAzure CLI TeamThe command of the issue is owned by Azure CLI teamThe command of the issue is owned by Azure CLI teamComputeaz vm/vmss/image/disk/snapshotaz vm/vmss/image/disk/snapshotact-observability-squadcustomer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.feature-request
Its not clear how to handle parameter values that have spaces in.
I am having a hard time trying to deploy a runCommand using bicep - where parameters values don't have spaces it works, however where they do have spaces it seems to throw off my script. So i turned to these docs for guidance, to discover that nothing is mentioned in terms of dealing with spaces - it says parameters should be space seperated but not what to do if a single paramater has spaces itself. I would expect the paramter value would need to be quoted?
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.