Skip to content

[terraform] - Fix terraform installation in debian trixie(13) - #1475

Merged
Álvaro Rausell Guiard (AlvaroRausell) merged 2 commits into
devcontainers:mainfrom
Kaniska244:terraform-trixie
Sep 16, 2025
Merged

[terraform] - Fix terraform installation in debian trixie(13)#1475
Álvaro Rausell Guiard (AlvaroRausell) merged 2 commits into
devcontainers:mainfrom
Kaniska244:terraform-trixie

Conversation

@Kaniska244

Copy link
Copy Markdown
Contributor

Ref: #1468

Description: This PR aims to solve #1468 to solve broken terraform installation in debian trixie(13). The issue is happening in ubuntu noble platform while installing terraform as noble has stricter GPG validation and different default keyserver behavior compared to jammy/focal due to changes in how GPG keys are handled in Debian Trixie(13) and newer versions have deprecated the use of apt-key and require keys to be in a specific format (usually .gpg or .asc) and placed in /etc/apt/keyrings folder. But as the given approach where in the feature the binary is downloaded from hashicorp release site verified against the GPG key, as part of this PR added alternate source for the key & imported the same for Debian Trixie(13).

Changelog: The following changes are included.

  • The installation script is changed to add alternate source for the GPG key & imported the same for Debian Trixie.
  • Change in devcontainer-feature.json to do version bump
  • Test scripts for relevant options with Debian trixie base image.

Checklist:

  • All checks are passed.

@Kaniska244
Kaniska (Kaniska244) marked this pull request as ready for review September 8, 2025 17:07
@Kaniska244
Kaniska (Kaniska244) requested a review from a team as a code owner September 8, 2025 17:07
@AlvaroRausell
Álvaro Rausell Guiard (AlvaroRausell) merged commit 787dd39 into devcontainers:main Sep 16, 2025
12 checks passed
@Kaniska244
Kaniska (Kaniska244) deleted the terraform-trixie branch September 17, 2025 05:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants