Spacelift support for install stacks is gated behind a feature flag. Reach out to Nuon to enable it for your org.
- Blueprint — publish a Spacelift blueprint and use the web UI to create the stack.
- Terraform — apply a generated
spacelift.tfthat uses the Terraform provider to create the stack.
nuonco/install-stacks module over
raw Git, so no Spacelift VCS integration or GitHub App install is required.
Prerequisites
- Enable the feature flag — Spacelift support is gated behind a feature flag. Reach out to Nuon to enable it — the Spacelift tab then appears on the await install stack step.
- Create a Spacelift account — you need a Spacelift account with permission to create blueprints and stacks.
- Configure a cloud integration — set up Spacelift’s cloud integration for your target cloud — AWS or GCP. Its identity must have access to provision resources in the target account.
Use a blueprint
Create the blueprint
In Spacelift, go to Blueprints → Create blueprint and paste the generated YAML from the dashboard as the
template body. It starts as a draft you can edit freely. See
Blueprints.
Publish it
Click Publish to move the blueprint from draft to published. The template clones the public
install-stacks
repository over raw Git, so no VCS integration setup is required. Publishing is one-way — to change a published
blueprint, clone it, edit, and publish again.Create a stack and fill in the inputs
On the published blueprint, click Create stack and fill in the cloud settings (such as the account, project, or
region for your target cloud) and any install inputs and secrets. These are declared as blueprint
inputs; secrets use the
secret input type. This creates
the stack but doesn’t run it yet.Attach cloud credentials, then trigger the run
Open the new stack’s Settings → Integrations and attach your
cloud integration. Then trigger the stack’s first run — it
provisions the runner. The run isn’t triggered automatically because cloud credentials can’t be attached from the
blueprint itself.
Use terraform
This path applies a generatedspacelift.tf alongside its inputs.auto.tfvars and secrets.auto.tfvars sibling
files. The config reads the tfvars via filebase64, so you can edit the inputs and replace the secrets with real
values before applying.
Save these files together
Download
spacelift.tf, inputs.auto.tfvars, and secrets.auto.tfvars from the dashboard and put all three in
one directory. Edit inputs.auto.tfvars as needed and replace secrets.auto.tfvars with your real secret values.
Keep them somewhere private — the secrets file is plaintext at rest.Authenticate the provider to Spacelift
The
spacelift-io/spacelift provider
needs Spacelift API credentials. Create an
API key and export it as
SPACELIFT_API_KEY_ENDPOINT, SPACELIFT_API_KEY_ID, and SPACELIFT_API_KEY_SECRET before applying. See the
provider authentication
docs.Apply with Terraform
Run:This creates the install stack and mounts your tfvars via
spacelift_stack and
spacelift_mounted_file.Attach cloud credentials, then run the install stack
Open the created install stack’s Settings → Integrations and attach your
cloud integration. A newly created stack doesn’t run on
its own, so trigger its first run — it’s set to auto-deploy, so it plans and applies your runner without further
approval.