Skip to content

build: add OpenTofu 1.13.9 to the devcontainer and runner images #5317

Closed

Description

@dan-petty

Problem or Motivation

tofu is not installed in the devcontainer, the runner image or CI. The GitHub settings stacks and the drift job need it.

Order 3 of the plan in #5311. The owner approved the plan on 2026-11-13.

Proposed Solution & Architectural Design

Pin OpenTofu 1.13.9 with a sha256 for each platform on the path that each image uses for its other pinned binaries: a native step in the tools stage of .devcontainer/Dockerfile (as for kubectl and trivy), and the runner-tools stage of Dockerfile (today devops install-tools; a native step after #4363). Install the same pin in the CI job. Renovate updates the pin.

Premise check of 2026-11-13: the plan said [binary.tofu] in tools.lock with devops install-tools. #4359 moved the binary tools of the devcontainer image to native Dockerfile steps, and #4363 removes devops install-tools and tools.lock. So this item follows the install path of each image and adds no new tools.lock entry if #4363 has merged. #5076 also needs tofu for its validate check.

Target Subsystem

OpenTofu / Infrastructure as Code

Existing Tool Considered

The pinned download steps of the image builds (exact version and sha256 for each platform), as for kubectl, helm and trivy. Renovate updates the pins.

Cost: Build: about 300k tokens, 0.5 day. Keep: about 20k tokens a month. Fix: about 100k tokens.

Acceptance Criteria

  • 'tofu version' prints 1.13.9 in both images and in CI.

Dependencies

No blocker. Part of #5311.

Source: #5311

Activity

  1. added
    source/agent
    on Nov 13, 2026
  2. added
    type/infra
    status/new
    value/medium
    effort/low
    on Nov 13, 2026
  3. dan-petty commented on Nov 13, 2026

    @dan-petty
    OwnerAuthor
  4. added
    priority/p2-medium
    on Nov 13, 2026
  5. added
    status/in-review
    and removed
    status/new
    on Nov 15, 2026
  6. removed
    status/in-review
    on Nov 15, 2026
  7. devops-cli-service commented on Nov 16, 2026

    @devops-cli-service
    Contributor

    Live since 2026-11-15 23:51 UTC

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    effort/lowpriority/p2-mediumsource/agenttype/infravalue/medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions