Add UI for Direct State Management (Edit/Delete State Resources)
As a user of Spacelift, one of the pain points we’ve run into is around managing Terraform state directly in the platform, especially in situations where state gets corrupted or desynchronized.
Recently, we had to manually export, edit, and re-import state to recover from a broken resource reference. While the new “Export” button helps, the overall experience is still quite fragile and requires deeper CLI knowledge or risky console commands.
It would be extremely helpful to have a dedicated UI for state management, ideally accessible from the stack’s resource view. Specifically, we’d love to be able to:
View and navigate the state in a structured way
Delete or modify individual state resources directly from the UI
Avoid full manual exports/imports for small surgical fixes
Right now, the lack of this capability makes recovery workflows more error-prone and less accessible for non-senior engineers. A more intuitive experience would go a long way in reducing support overhead and keeping teams moving faster.
Thanks for considering!
Log in to comment and vote
Comments1
Black Breeze
Sep 3, 2025
I don’t think we want to offer a management GUI to Terraform state. Ultimately you’d need to hand it over to the tool and have to pay back the debt caused by effectively managing the state outside the tool. For better or for worse, the design of Terraform is actually actively hostile to this use case - it’s called “state surgery” for a reason.
Whether the original design is good or not is an open question, but from a pragmatic perspective I’d actually much rather focus on why the state got corrupted or desynchronized in the first place, and try to address the core problem.
Is there something we could help with, or should look into? What are the scenarios in which your state becomes broken?