[英]Use external parameters.json file not working with Azure CLI
I am trying to pass parameters in via the parameter file in Azure Cli我正在尝试通过 Azure Cli 中的参数文件传递参数
The script below ignores my file What am I doing wrong?下面的脚本忽略了我的文件我做错了什么?
I have also tried ParameterTemplateFile as mentioned in another post here but that doesnt work either我也尝试过 ParameterTemplateFile 在这里的另一篇文章中提到,但这也不起作用
templateFile="Path\template.json"
parameterFile="Path\parameters.json"
az deployment group create \
--name <NAME> \
--resource-group <RESOURCE GROUP>\
--template-file $templateFile \
--parameter-file $parameterFile
When running via Azure Cli I should have been using @parameters.json通过 Azure Cli 运行时,我应该一直在使用 @parameters.json
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.