Bump hc-install to v0.9.4 to fix expired PGP key#11703
Conversation
The HashiCorp PGP signing key embedded in hc-install v0.9.3 expired on 2026-04-18, causing Terraform binary downloads to fail with: 'openpgp: key expired' See: hashicorp/hc-install#370 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Signed-off-by: lakshmimsft <ljavadekar@microsoft.com>
4611b77 to
afb70d8
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #11703 +/- ##
==========================================
+ Coverage 51.38% 51.39% +0.01%
==========================================
Files 699 699
Lines 44111 44111
==========================================
+ Hits 22665 22671 +6
+ Misses 19278 19275 -3
+ Partials 2168 2165 -3 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Signed-off-by: lakshmimsft <ljavadekar@microsoft.com>
Signed-off-by: lakshmimsft <ljavadekar@microsoft.com>
Radius functional test overviewClick here to see the test run details
Test Status⌛ Building Radius and pushing container images for functional tests... |
There was a problem hiding this comment.
Pull request overview
Updates Terraform installation dependencies to avoid failures caused by an expired HashiCorp PGP key in hc-install, and temporarily disables a flaky Azure functional test to keep CI green.
Changes:
- Bump
github.com/hashicorp/hc-installfromv0.9.3tov0.9.4(and regeneratego.sum) to fix Terraform download/signature verification failures. - Temporarily skip
Test_ACIdue to transientAzure ManagedServiceIdentityNotFoundfailures. - Update additional Go module versions pulled in by the module update/tidy process.
Reviewed changes
Copilot reviewed 2 out of 3 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| test/functional-portable/corerp/cloud/resources/aci_test.go | Skips the flaky ACI functional test. |
| go.mod | Bumps hc-install (and also updates other module versions). |
| go.sum | Regenerated checksums for updated module versions. |
willdavsmith
left a comment
There was a problem hiding this comment.
same questions as copilot, otherwise approved. thanks for fixing
The HashiCorp PGP signing key embedded in hc-install v0.9.3 expired on 2026-04-18, causing Terraform binary downloads to fail with:
failed to install Terraform to global location: unable to verify checksums signature: openpgp: key expiredThis breaks Terraform recipe functional tests which downloads Terraform at runtime.
Upstream issue: hashicorp/hc-install#370
Description
Bumps github.com/hashicorp/hc-install from v0.9.3 to v0.9.4 to fix Terraform installation failures caused by an expired PGP signing key.
Other dependencies updated in this PR are transitive dependencies of hc-install
Additionally skipped a unrelated flaky test so CI tests pass cleanly. This will be addressed with #11708
Type of change
Fixes: #11705
Contributor checklist
Please verify that the PR meets the following requirements, where applicable: