azure-pipelines-tasks-terraform icon indicating copy to clipboard operation
azure-pipelines-tasks-terraform copied to clipboard

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

Open yoshuhire opened this issue 3 years ago • 3 comments

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

yoshuhire avatar May 26 '22 08:05 yoshuhire

Same issue here

waarg avatar May 26 '22 09:05 waarg

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.

waarg avatar May 26 '22 09:05 waarg

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

yoshuhire avatar May 26 '22 10:05 yoshuhire

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

jason-johnson avatar Aug 10 '22 20:08 jason-johnson

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

yoshuhire avatar Aug 10 '22 22:08 yoshuhire

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

jason-johnson avatar Aug 11 '22 07:08 jason-johnson