Integrations

Stategraph works underneath the tooling you already run Terraform with. Your CI system or orchestrator keeps triggering and approving runs; the Stategraph CLI does the planning and applying, so state lives in Stategraph — scoped plans, per-resource conflict detection, and SQL over your estate included.

Available integrations

  • GitHub Actions — plan on pull requests, apply on merge, in plain workflow YAML
  • GitLab CI — the same flow on GitLab: sticky MR note, apply on merge
  • Atlantis — keep comment-driven PR automation; two run steps swap the engine
  • Spacelift — run Stategraph through Spacelift's custom workflow tool

Other CI systems (Jenkins, CircleCI) follow the GitHub Actions pattern: the CLI needs no integration — export the three STATEGRAPH_* variables and replace terraform plan/apply with stategraph plan/apply.

Next Steps