microsoft / azure-pipelines-terraform

Azure Pipelines tasks for installing Terraform and running Terraform commands in a build or release pipeline.
MIT License
107 stars 66 forks source link

version randomly changing between 1.9.7 and 1.9.8 #255

Open jdavisclark opened 1 week ago

jdavisclark commented 1 week ago

I've got what would be a pretty standard terraform release pipeline that includes a pause for a manual review between the plan and apply stages. However, it looks like the patch version of terraform that gets installed/run can randomly change between 1.9.7 and 1.9.8 in the plan vs apply stages of my pipeline. This makes it impossible to do a "correct" terraform release pipeline that utilizes plan + manual review + apply separately, since apply can only execute plan files generated by the exact same tf verison.

I'd really love to not have to DIY the tasks, but its looking like that may be the case if there's really no way to lock down a version of terraform?

Image

mericstam commented 1 week ago

Hi, to be certain which version of terraform that is run on the agent please use TerrformInstaller task before any terraform commands on each parts br manuel