Skip to content

Commit 4ef0221

Browse files
committed
update
1 parent b3e1059 commit 4ef0221

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

articles/azure-resource-manager/bicep/add-template-to-azure-pipelines.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,13 @@ steps:
113113
inlineScript: |
114114
az --version
115115
az group create --name $(resourceGroupName) --location $(location)
116-
az deployment group create --resource-group $(resourceGroupName) --template-file $(templateFile) --parameters storageAccountType='Standard_GRS' location="eastus"
116+
az deployment group create --resource-group $(resourceGroupName) --template-file $(templateFile)
117+
```
118+
119+
To override the parameters, update the last line of `inlineScript` to:
120+
121+
```bicep
122+
az deployment group create --resource-group $(resourceGroupName) --template-file $(templateFile) --parameters storageAccountType='Standard_GRS' location="eastus"
117123
```
118124

119125
For the descriptions of the task inputs, see [Azure CLI task](/azure/devops/pipelines/tasks/reference/azure-cli-v2). When using the task on air-gapped cloud, you must set the `useGlobalConfig` property of the task to `true`. The default value is `false`.

0 commit comments

Comments
 (0)