jason-johnson / azure-pipelines-tasks-terraform

Azure Pipelines extension for Terraform
MIT License
122 stars 51 forks source link

"A task is missing" error #414

Closed richardoswald closed 4 months ago

richardoswald commented 4 months ago

Describe the bug I receive a new error when using the TerraformCLI@0 task `A task is missing. The pipeline references a task called 'TerraformCLI'.

I also noticed that the task is now "unpublished" on the Marketplace page. Is this related? This extension is now unpublished from Marketplace. You can choose to uninstall it.

To Reproduce Steps to reproduce the behavior:

  1. Setup pipeline as (include yaml configuration or screenshots of classic ui editor)
            - task: TerraformCLI@0
              displayName: "Terraform Init: ${{ path }}"
              inputs:
                command: "init"
                workingDirectory: "$(System.DefaultWorkingDirectory)/${{ path }}"
                backendType: "selfConfigured"
                allowTelemetryCollection: false
  2. Execute pipeline
  3. See error A task is missing. The pipeline references a task called 'TerraformCLI'. This usually indicates the task isn't installed, and you may be able to install it from the Marketplace: https://marketplace.visualstudio.com.

Expected behavior TerraformCLI@0 task would be found and executed during pipeline

Agent Configuration

Screenshots image

Additional context This worked as of Feb. 9th, 2024

richardoswald commented 4 months ago

I failed to read the link on the marketplace page pointing to the new task. I'll start using that. I'll close this issue.