microsoft / azure-pipelines-extensions

Collection of all RM and deployment extensions
http://www.visualstudio.com/explore/release-management-vs
MIT License
278 stars 422 forks source link

Terraform tool installer does not apply if using hosted agent #788

Open favandemeer opened 4 years ago

favandemeer commented 4 years ago

Hello,

I am trying to use the terraform tool installer before the terraform tasks to ensure im getting the version that i specify. Unfortunatly the hosted agent already has a version installed (0.12.21) but i want it to use a newer one (0.12.23). The agent or the task seems to ignore the newer version that i install via terraform tool installer.

The worst thing: You won't even notice this, because the terraform task (like init/plan) succeeds using an older version than specified in the installer task.

Is there anything that I am missing, like telling the TerraformTask which version to use?

Regards, Fabian

Roshan-Kumar-Microsoft commented 4 years ago

@fajanssen In current task we are not supporting terraform version as input . We are marking this as enhancement.

AmrutaKawade commented 3 years ago

@fajanssen are you still facing this issue?