spacelift-terraform
Installation
SKILL.md
Spacelift
Spacelift orchestrates Terraform via GitOps: GitHub pushes trigger runs, policies govern behavior, contexts inject config, workers execute runs.
- API:
https://<account>.app.spacelift.io/graphql - Terraform provider:
spacelift-io/spacelift - spacectl:
brew install spacelift-io/spacelift/spacectl
Core Concepts
| Concept | Description |
|---|---|
| Stack | Terraform project unit: repo + branch + settings + state |
| Run | Execution of terraform plan (proposed) or plan+apply (tracked) |
| Policy | OPA Rego rule set governing stack behavior (9 types) |
| Context | Reusable bundle of env vars + mounted files + hooks |
| Worker Pool | Set of runners executing runs (public Spacelift-hosted or private) |
| Space | Organizational boundary for access control and resource scoping |