Reposยป
Spacelift Repos is a built-in version control system that lets you store and manage infrastructure code directly in Spacelift, without connecting an external VCS provider like GitHub or GitLab. This is useful for quick experiments, internal modules, or teams that prefer to keep their IaC workflow entirely within Spacelift.

What can you do with repos?ยป
- Create repos to store infrastructure-as-code files directly in Spacelift
- Browse and manage files with a built-in code editor
- Track commit history with diffs
- Attach repos to stacks as a source code provider
- Organize repos into spaces with labels
- See which stacks are using a repo
Viewing repo detailsยป
Click the Details button on a repo's detail page to open a drawer with the full repo metadata, including its ID, space, description, timestamps, and labels.

Connecting a repo to a stackยป
When creating a stack, Spacelift appears as a VCS provider option alongside your connected integrations. Select Spacelift as the source code provider, then choose the repo you want to attach.

Info
Spacelift Repos does not support branches. Your stack will always track the latest commit.