jason-johnson / azure-pipelines-tasks-terraform

Azure Pipelines extension for Terraform
MIT License
127 stars 55 forks source link

Azure Release Pipeline failed to install terraform 0.14.0 with exception "Error: certificate has expired" #272

Closed yoshuhire closed 2 years ago

yoshuhire commented 2 years ago

When I executed one of azure release pipeline task "Terraform Installer 0.14.0", it failed with an error "cerfiticate has expired".

Terraform Install version 0.14.0

Task : Terraform Installer Version : 0.6.8 Author : Charles Zipp

the task was running fine until 2022/5/25 JST.

Could you please tell me what and how I fix to resolve the issue?

Azure Pipeline Agent's Configuration is as below.

OS: Ubuntu latest (ubuntu-22.04) Agent Type: Microsoft Hosted Agent

waarg commented 2 years ago

Same issue here

waarg commented 2 years ago

We fixed this in organization settings. Under extensions, we had to give permission to upgrade the terraform installer task. Then on next run, it ran v0.7.8 of the task and it worked - the cert error did not recur.

yoshuhire commented 2 years ago

Thank you so much! I'll try n get right back!

jason-johnson commented 2 years ago

@yoshuhire Did this fix your issue or is there a potential bug here?

yoshuhire commented 2 years ago

Forgive my late response. Yes! This issue has been resolved after upgrading the terraform task! Thank you!

jason-johnson commented 2 years ago

Great, thanks. In that case, closing the issue.