jason-johnson / azure-pipelines-tasks-terraform

Azure Pipelines extension for Terraform
MIT License
121 stars 52 forks source link

TerraformCLI@0 doesnt work anymore, pipelines broken #379

Closed detox3r closed 8 months ago

detox3r commented 9 months ago

Describe the bug Some of our pipelines are still using the TerraformCLI@0 task. it looks like this doesnt work anymore and all our pipelines are broken.

TerraformCLI@1 works fine.

To Reproduce Steps to reproduce the behavior:

  1. Setup pipeline as (include yaml configuration or screenshots of classic ui editor)
  2. Use TerraformCLI@0 in any ADO pipeline GUI
  3. See error only in ADO. vscode still sees TerraformCLI@0 as valid

Expected behavior TerraformCLI@0 should also work

Screenshots

image

Pipeline Logs no needed

Agent Configuration

Additional context A deprecation notice would've been nice

jason-johnson commented 9 months ago

Hi, sorry about that. This is part of the ongoing work to support multiple versions of the pipeline, which should allow us to release faster going forward. In the future the different versions will be different SLA's. 0 should be the previous 0.7 release, 1 will be the latest stable 1.* release. 2 will be unstable changes currently being tested, etc..

jason-johnson commented 8 months ago

Related to #389

jason-johnson commented 8 months ago

Hi @detox3r , this is now clarified in #392

Clockwork-Muse commented 7 months ago

Part of the problem currently is that the documentation shows TerraformCLI@0, which makes it look like a drop-in replacement. That's not the case....

jason-johnson commented 7 months ago

The documentation should be correct now. Please make an issue if you see places that are misleading. @0 should work fine now.