-
Notifications
You must be signed in to change notification settings - Fork 107
Closed as not planned
Closed as not planned
Copy link
Description
I have a valid pipeline with an AzureResourceManagerTemplateDeployment@3
task.
In the editor, it says this line is invalid because it does not match the pattern of "^PowerShell@2$".
That does not make sense to me, why would this exact task have to be a powershell one.
The pipeline runs fine in DevOps.
Repro:
stages:
- stage: deployResources
displayName: 'Deploy resource group'
jobs:
- job: deploymentGroup
displayName: 'run deployment group'
steps:
- task: AzureResourceManagerTemplateDeployment@3
inputs:
deploymentMode: Incremental
connectedServiceName: 'service-connection'
deploymentName: $(Build.BuildNumber)
location: 'westeurope'
resourceGroupName: 'rg-demo'
csmFile: 'Pipeline/main.bicep'
overrideParameters: >-
-env "demo"
