Skip to content

fix: bump bundled terraform to 1.17.1 (backport 2.38) - #31441

Merged
denisra merged 1 commit into
release/2.38from
superblink/ent-228-terraform-1171-release-238
Nov 2, 2026
Merged

denisra merged 1 commit into
release/2.38from
superblink/ent-228-terraform-1171-release-238

Conversation

@coder

@coder coder Bot commented Oct 28, 2026

Copy link
Copy Markdown
Contributor

Backport of #31438 to release/2.38. Bumps the bundled Terraform from 1.16.7 to 1.17.1, which is built with go-jose/v4 v4.1.6 and fixes GHSA-mgcc-cww5-fp2q in /opt/terraform/terraform. The IronBank VAT scan of coder-service-2:2.38.3 flags this (High).

Terraform 1.16.7, 1.17.0 and the v1.16 branch all still pin go-jose v4.1.4, so there's no 1.16.x release with the fix. This is a minor jump, so maxTerraformVersion moves from 1.16.9 to 1.17.9. There's precedent for minor Terraform bumps on release branches: #31305 moved release/2.35 to 1.16.

The file set matches #31438: install.go, install.sh, scripts/Dockerfile.base, mise.toml, mise.lock and flake.nix, plus the airgap docs. Checksums come from HashiCorp's GPG-verified terraform_1.17.1_SHA256SUMS. testdata/generation.sha1 was regenerated with generate.sh under 1.17.1, and no fixture outputs changed.

Verified: go test ./provisioner/terraform/ passes with Terraform 1.17.1. Local git hooks were skipped; CI is the gate. The IronBank hardening manifest still needs a matching update.

Part of ENT-228 (parent ENT-230).

Opened by Superblink on behalf of @droopy4096.

Terraform 1.17.1 is built with go-jose v4.1.6, which fixes GHSA-mgcc-cww5-fp2q in /opt/terraform/terraform (flagged by the IronBank VAT scan of 2.38.3). 1.16.7 and 1.17.0 still ship go-jose v4.1.4.

Refs ENT-228
@linear-code

linear-code Bot commented Oct 28, 2026

Copy link
Copy Markdown

ENT-228

@github-actions github-actions Bot added the community Pull Requests and issues created by the community. label Oct 28, 2026
@coder coder Bot added cherry-pick/v2.38 Cherry-pick PR targeting release/2.38 and removed community Pull Requests and issues created by the community. labels Oct 28, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Docs preview

Check off each page once it's been reviewed. If a page changes in a later push, its checkbox clears automatically so it gets a fresh look. Pages not yet wired into the docs navigation aren't listed here.

@denisra
denisra merged commit 8fe3103 into release/2.38 Nov 2, 2026
41 checks passed
@denisra
denisra deleted the superblink/ent-228-terraform-1171-release-238 branch November 2, 2026 18:17
@github-actions github-actions Bot locked and limited conversation to collaborators Nov 2, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

cherry-pick/v2.38 Cherry-pick PR targeting release/2.38

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants