everything-as-code | A polyglot experiment | Continous Integration library
kandi X-RAY | everything-as-code Summary
kandi X-RAY | everything-as-code Summary
Everything-as-code. A polyglot experiment.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of everything-as-code
everything-as-code Key Features
everything-as-code Examples and Code Snippets
Community Discussions
Trending Discussions on everything-as-code
QUESTION
In an Azure Resource Group Deployment task, can I override a parameter that has a space in its name?
I followed this guide to create an Azure resource group deployment project. In that project I'm able to create parameters with spaces in the name and successfully deploy it via Visual Studio.
azuredeploy.json
...ANSWER
Answered 2019-Nov-06 at 14:01The answer is Yes and No.
The Yes means this special parameter name My easy to read parameter
can be override. And No means the approach you are using is not correct.
Firstly, hello world
is a invalid value. Since what you defined it is a Microsoft.Storage/storageAccounts
type, it does not allow you to use the characters other than lowercase letters and numbers, including spaces.
To achieve overriding the parameter name My easy to read parameter
, you can not directly override it in the task configuration:
The name with spaces could not be recognized by the task. Because of the spaces, this task could not treat this special name as one completed string and will try to parse it. Then you would received the error like follow show:
Even not work by using double quotes around it.
The correct and succeed overriding method is using Override Parameter json file.
Create a new parameter json file, then specified the parameter name and value which you want to be override.
For example:
(1). This is my template json file which parameter name is My easy to read parameter
and value is merlinliang
:
(2). Now, create a another parameter json file. Specified a new value merlinoverride
in it:
(3). In ARM deploy task configuration, configure like this:
You can see the name was override successfully:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install everything-as-code
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page