Website · Documentation · Getting started
Stackorder is lightweight Terraform and OpenTofu orchestration on GitHub Actions. A GitHub App and a small control-plane server work out which stacks a change affects and the order to apply them in, and GitHub Actions does all of the running. Credentials, state and modules stay in your GitHub organisation or personal account and your AWS account; the server receives metadata and redacted plan text, never cloud credentials or state.
- Pull request plans. Every push to a pull request scans the repository, sends the dependency graph to the server and plans each affected stack on your GitHub Actions runners. You get one check per stack and one sticky comment.
- Apply gate. A
stackorder applycomment, or the merge, is checked for who asked, approvals, fresh plans on the head commit, policy checks and stack locks. Every failure is reported together in one comment. - Dependency waves. Applies run one wave at a time in the order set by
depends_onedges andreads_stateedges, which come fromterraform_remote_stateblocks. Each job runs under the stack's GitHub environment, and a failed stack blocks its dependents. - Drift. On a schedule, the server plans every stack at the head of the default branch and can open one GitHub issue per drifted stack.
The server coordinates and never executes: it holds no cloud credentials, no state and no plan files, and the plan text it receives is redacted and capped at 256 KB. If it is down, pull request plans still run and only applies pause.
| Repository | What it holds |
|---|---|
stackorder |
Server, stackorder CLI, web UI, docs and deployment module |
actions |
The actions and the reusable plan.yml and run.yml workflows you call |
example-infra |
Example monorepo wired for Stackorder, used by the end-to-end tests |
- Introduction: what the server does, and what it deliberately is not.
- Local demo: plan, apply and check drift on one machine, with no GitHub App and no AWS account.
- Getting started: take one repository from nothing to its first
stackorder apply. - How it works: the execution model, the apply gate, waves, locks and drift.
stackorder.yamland Security model: the reference pages to read before production.
v0.2.0 is the current release. The CLI builds are on the stackorder/stackorder releases page, the server image is ghcr.io/stackorder/stackorder:0.2.0, and repositories call the workflows as stackorder/actions@v1. The changelog lists what shipped and where the code departs from the design.
Report vulnerabilities privately, through each repository's Security tab, as the security policy describes. The security model sets out what each part of Stackorder can and cannot do if compromised.
The stackorder, actions and example-infra repositories are open source under the Apache License 2.0.