Are both AzureResourceGroupDeployment and AzureResourceManagerTemplateDeployment same?
- task: AzureResourceManagerTemplateDeployment@3
displayName: 'deploy using AzureResourceManagerTemplateDeployment'
inputs:
azureResourceManagerConnection: sc
subscriptionId: id
resourceGroupName: rg
location: $(location)
csmFile: ${{ parameters.root }}/Infrastructure/data/template.bicep
csmParametersFile: env.json
overrideParameters: '-environmentAbbreviation "env"'
deploymentMode: 'Incremental'
deploymentOutputs: dataoutputs
- task: AzureResourceGroupDeployment@2
displayName: 'deploy using AzureResourceGroupDeployment'
inputs:
azureSubscription: ec
resourceGroupName: rg
csmFile: ${{ parameters.root }}/Infrastructure/data/template.bicep
csmParametersFile: env.json
overrideParameters: '-environmentAbbreviation "env"'
deploymentMode: 'Incremental'
deploymentOutputs: dataoutputs
Are both AzureResourceGroupDeployment and AzureResourceManagerTemplateDeployment same?
According to anderseide:
AzureResourceManagerTemplateDeployment
contains deploymentScope
, where you can select either on Management Group
, Subscription
or Resource Group
level.References: ARM Template Deployment Task - Deployment Scope, Azure Resource Group Deployment task and Battle of AzureResourceManagerTemplateDeployment and AzureResourceGroupDeployment