
- Push changes to your connected Git repository — the recommended approach for CI-driven, reproducible workflows.
- Use the Trigger button in the Spacelift UI — useful for ad-hoc re-runs when you want to reapply the same configuration without committing code.
Use the Trigger button for one-off or investigative runs. For routine changes, push commits to your repository so your runs remain versioned and reproducible.
- Spacelift creates a run and performs the standard initialization sequence.
- The run pulls source code from your repository, sets up files and permissions, pulls the runner image, downloads the Terraform binary, creates and starts the container, verifies prerequisites, then runs Terraform plan.
- The run uploads plan data and a workspace snapshot to the Spacelift backend for review and policy checks (if any are configured).
Representative run logs (initialization → plan → workspace upload)
- Inspect the full plan and generated JSON representation.
- Discard the run if you do not want to proceed.
- Confirm the run to trigger the Terraform apply.
- Spacelift documentation: https://docs.spacelift.io
- Terraform documentation: https://www.terraform.io/docs
Confirming an apply will change real infrastructure. Always review the plan carefully and ensure credentials and IAM permissions follow least-privilege best practices before confirming.