Skip to content

Commit 98072e7

Browse files
authored
Update add-template-to-azure-pipelines.md
just tested the AzureResourceManagerTemplateDeployment@3 task: - removed "azureSubscription:" (not supported by the task) - added "connectedServiceName: " (mandatory)
1 parent fa460f1 commit 98072e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,6 @@ You can use Azure Resource Group Deployment task or Azure CLI task to deploy a B
8181
- task: AzureResourceManagerTemplateDeployment@3
8282
inputs:
8383
deploymentScope: 'Resource Group'
84-
azureSubscription: '${{ parameters.azureServiceConnection }}'
8584
action: 'Create Or Update Resource Group'
8685
resourceGroupName: '$(resourceGroupName)'
8786
location: '$(location)'
@@ -91,6 +90,7 @@ You can use Azure Resource Group Deployment task or Azure CLI task to deploy a B
9190
overrideParameters: '-storageAccountType Standard_LRS'
9291
deploymentMode: 'Incremental'
9392
deploymentName: 'DeployPipelineTemplate'
93+
connectedServiceName: '${{ parameters.azureServiceConnection }}'
9494
```
9595
9696
1. Update the values of `azureServiceConnection` and `location`.

0 commit comments

Comments
 (0)