Skip to content

AzureResourceManagerTemplateDeployment@3 task is linted as an error #619

@toni-miettinen

Description

@toni-miettinen

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"
Image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions