When deploying arm templates with parameters, it's necessary to encode the parameter values as JSON documents, which is very cumbersome to do on the command-line, particularly if the parameter values must be retrieved dynamically (e.g., from other CLI commands).
As a thought exercise, consider the experience for deploying a QuickStart template that accepts Azure resource IDs as parameters. (https://raw.githubusercontent.com/Microsoft/openshift-origin/master/azuredeploy.json)
It should be possible to specify template parameters to the deployment create command itself, essentially promoting template parameters to CLI command parameters.
For example,
az group deployment create --template-uri [some uri] --param1fromtemplate [value] --param2fromtemplate value
Maybe, we should just expose an arg accepting
We should support this soon, as the command is being heavily used, so any improvements will make a good impact
@yugangw-msft tag style syntax sounds good to me! --parameters param1=val1 param2=val2 ...
@yugangw-msft : lets do this.
I am adding this to upcoming sprint for us to pick
Most helpful comment
@yugangw-msft tag style syntax sounds good to me!
--parameters param1=val1 param2=val2 ...