Skip to main content

Access to Spacelift state backend

We would like Spacelift to support exposing its managed Terraform/OpenTofu HTTP state backend in a way that allows authorised users to run plan and apply locally against the same state backend used by Spacelift-managed stacks.

The goal is to support a break-glass operational process where, in exceptional circumstances, we can run Terraform/OpenTofu locally while still using Spacelift as the source of truth for state and locking.

Ideally, this would allow local Terraform/OpenTofu runs to:

  • Use the Spacelift-managed state backend directly

  • Respect Spacelift state locking

  • Prevent concurrent Spacelift pipeline runs while local operations are in progress

  • Avoid having to manually reconcile or “fold back in” state changes made outside of Spacelift

Workaround
Problem
Status: ⬆️ Gathering votes

Log in to comment and vote

No comments yet

Be the first to share your thoughts.