Skip to content
Aldermark

Everything Plumbline does

Plumbline runs OpenTofu for code kept in Burrow repositories, which can mirror GitHub. It plans every commit pushed to a stack's tracked branch, plans every open change list into that branch and posts the summary on it, and applies automatically or after a person approves. Each stack's state is hosted with one lock, every version kept and rollback, and scheduled plans report drift.

Runs and approvals

A run is one plan, and for a run that can apply, its apply. Plumbline starts runs from pushes, change lists, the drift schedule, people and the API, and applies only the saved plan a person saw.

app.aldermark.systems/o/northwind/p/storefront/plumbline/runs/run_edge
An OpenTofu plan for the Storefront edge stack waiting for approval, with one resource to create, one to update and the plan output.
  • Four kinds of run

    apply runs plan and apply the tracked branch, speculative runs plan a CL or another branch, drift runs plan on a schedule, and destroy runs need an admin who types the stack's id.

  • Approval by role

    Each stack sets who approves: editors or admins. With auto apply on, plans apply at once unless they destroy a resource and the stack asks for approval of destroys.

  • The saved plan is what applies

    Plumbline applies the binary plan the run made, never a fresh one. When the state changed since the plan, the run is cancelled with a note to plan again.

  • No duplicate runs

    Automatic requests for a commit that is already queued or running are covered by that run, and each skip leaves a note on it. A request from a person or the API always queues.

  • Logs and cancel

    Output streams into the run page as it arrives. Cancelling an apply sends OpenTofu an interrupt so it stops cleanly, and Plumbline keeps the state it reached.

  • Audit trail

    Each run records who queued, approved, rejected, cancelled and applied it, with times, and each state version records who or what wrote it.

Change lists and pull requests

Plumbline reads stacks from Burrow repositories and plans every open change list into a stack's tracked branch. When the repository mirrors GitHub, pull requests come in as change lists and the plan comment appears on GitHub too.

  • A plan per commit and stack

    Plumbline checks open CLs about every 15 seconds and plans each new head commit once per stack. A CL that touches a repository with three stacks on its target branch gets three plans.

  • The plan comment

    One comment per commit and stack gives the counts to add, change and destroy, lists up to 50 changed resources and links to the run. Comments never carry variable values, secrets or state.

  • GitHub pull requests

    With a Burrow repository that mirrors GitHub, reviewers stay on GitHub and read the plan in the pull request, while Plumbline reads the code from Burrow.

  • Merge, then apply

    Merging moves the tracked branch, and Plumbline queues an apply run that plans again against the current state. That plan is the one approved and applied.

Hosted state and locking

Plumbline stores each stack's OpenTofu state, one version per write, and serves it through OpenTofu's http backend. Runs inside Plumbline and tofu on laptops or in CI use the same state and the same lock.

app.aldermark.systems/o/northwind/p/storefront/plumbline/stacks/edge
The Storefront edge stack with its last run, drift status, state serial, lock, run history and state versions.
  • Every version kept

    The State tab lists versions newest first with serial, size, resource count, writer and time.

  • Rollback

    An admin rolls back by writing a copy of an older version as the newest, with a higher serial so OpenTofu accepts it. The audit trail records the rollback.

  • Download

    Admins download any state version. Viewers see the history without the contents.

  • The http backend

    Point backend "http" at Plumbline and sign in with an am session token. Editors read, lock and unlock; writing state needs an admin who holds the lock.

  • Encrypted and bound to the stack

    Each version is sealed with AES-256-GCM under a key derived for state, with the stack as additional data, so a version cannot be moved to another stack. Plans waiting for approval are sealed the same way.

Drift checks

Drift is a difference between what the code and state describe and what exists. Plumbline finds it by planning on a schedule and never applies on its own to fix it.

  • Scheduled plans

    Each stack plans its tracked branch every so many hours, up to 30 days apart; the Add stack form suggests 24. 0 turns drift checks off, and an editor can queue a drift run at any time.

  • No lock taken

    A drift run reads the latest state without the lock and never applies, so it never holds back other runs.

  • A result per stack

    The stack list shows Unknown, None or Drifted with when it was checked and its time zone. Open the run to see which resources differ.

Where runs execute

Providers and modules are programs OpenTofu downloads and runs, so Plumbline never runs them on its own server. Every run executes in a fresh microVM that holds no credential for Plumbline or Burrow.

  • A microVM per run

    Each plan and apply runs in a Firecracker microVM. Its egress proxy reaches public addresses and refuses private ones, cloud metadata and mail ports.

  • Providers from anywhere your code says

    Providers and modules come from the OpenTofu registry, other registries, git, HTTP or S3. A cache per project keeps OpenTofu and providers between runs.

  • Pinned OpenTofu versions

    Each stack picks one of the pinned OpenTofu releases, and the run checks the release archive's SHA-256 before it runs it.

  • Secrets masked

    Variables reach OpenTofu as TF_VAR_ environment values, never as files. Every secret value, and its base64 and URL-encoded forms, is replaced with *** before output is stored.

Settings, access and the command line

Stacks, variables, provider credentials and approval rules are settings kept as code in plumbline.yaml. Roles come from Gatehouse, and every API call is also an am command.

  • plumbline.yaml

    One file holds the project's time zone and every stack: repository, branch, path, OpenTofu version, workspace, auto apply, approval role, drift hours, variables and environment. Secrets are ${{ secrets.NAME }} references.

  • Viewer, editor and admin

    Viewers see stacks, runs, plans and logs. Editors queue and cancel runs and change stacks. Admins also destroy, download state and roll back.

  • am plumbline

    Queue, approve, reject and cancel runs, read logs, list state versions, roll back and unlock from a terminal or a script.

Try Plumbline free for one person

$5 a person a month after that, with no sales call, no surprise overage bills, and cancel any time.

Also available together as Aldermark Complete: all ten programs for $24 a person a month.