Skip to main content

Updates

Follow new updates and improvements to Spacelift.

Spacelift Flows Automates Day 2 Operations

Your applies run through policy and review, but alerts, incident response, and cleanup still run on scripts nobody can see. Flows is the Day 2 operations layer of the Full-Stack Infrastructure Orchestration Platform. It puts that work on an event-based canvas with a step-by-step execution trail, and when a run fails, you replay the whole flow or only the part that broke.

Build a flow by dragging blocks onto the canvas, describing it to the AI assistant in Flows, or calling the Flows MCP server from your own AI client. You can also write the code yourself. Every flow is defined in YAML with JavaScript, so you can copy it out or keep it in Git and ship it through the spacelift-io/flows Terraform provider. Block config reads upstream data with outputs.<block>.<field> and secrets with secrets.<KEY>. Pre-built blocks cover integrations like AWS, Kubernetes, Terraform, Datadog, PagerDuty, Jira, and Slack, with no containers to build or hosting to set up.

The MCP Tool block exposes a flow as an MCP tool with a JSON Schema input. Agents call it as themselves, and an approval gate pauses the run for human sign-off, with both recorded in the audit trail. Agent access can run inside your VPC, on-premises, or air-gapped.

Spacelift Deploy events trigger flows, and flows trigger runs. Route drift alerts to Slack and Jira, or gate each stage of a dev, staging, and production rollout on a Slack approval.

Open the app switcher in the top left of Spacelift Deploy and select Flows. Start from one of 40+ templates, including Kubernetes namespaces with resource quotas, PostgreSQL management forms, and environment vending with multi-level approvals.

Browse the template gallery → or read the Flows docs →

Action Needed: Switch private workers to HTTP long-polling before January 1st, 2027

We’re going to be making a change to how your private workers talk to Spacelift. Currently, they talk to Spacelift over an MQTT queue. That means one more endpoint to allow through your firewall and one more moving part between Spacelift and your workers. We’ve had feedback that you’d like to see this simplified, so as of January 1st, 2027, we’re doing that.

HTTP long-poll will be replacing MQTT for server-to-worker communication. That means workers will only need outbound HTTPS on port 443 configured, simplifying your network rules and taking worker-iot.spacelift.io off your allow list.

Why we’re changing it

  • You will no longer need to allow AWS IoT endpoints. Workers will only need outbound HTTPS (port 443) to your Spacelift server. 

  • There are fewer moving parts, so there’s less to break and less to debug.


What does this mean for you?
If you're using private workers, you'll need to switch to HTTP long-polling. If you only use Spacelift's public workers, you don't need to do anything.

What is the timeline?

  • Today: HTTP long-polling is available and supported. You can switch at any time.

  • December 31st, 2026: Recommended date to finish the switch.

  • March 30th, 2027: MQTT is turned off entirely. Workers still on MQTT will not be able to pick up any runs.


How to switch
Use the latest available worker version. Then, choose the path that matches how you deploy workers:

  • Terraform Module for AWS (terraform-aws-spacelift-workerpool-on-ec2): Upgrade to v9.1.0 or later. HTTP long-polling is the default from that version. It’s a major release, so please check the release notes before you upgrade.

  • Helm Chart: Upgrade to v0.83.0 or later ****and apply it.

  • Kubernetes Workers: Set the transport on the WorkerPool resource. See the Kubernetes workers guide here.

  • Terraform Modules for Azure: Upgrade to version v5.0.0, or set the two environment variables below yourself.

  • Terraform Modules for GCP: Upgrade to version v3.0.0, or set the two environment variables below yourself.

  • Docker-Based Workers, or your own custom configuration: Set two environment variables on each worker:

SPACELIFT_WORKER_COMMS_PROTOCOL=poll SPACELIFT_WORKER_COMMS_URL=https://app.spacelift.io 

US-region accounts use https://app.us.spacelift.io

Not sure which mode your workers use? Check the worker logs at startup. A worker using HTTP long-polling logs Starting launcher in poll mode against ..., and a worker still on MQTT logs Starting launcher in MQTT mode against .... If you see neither line, your workers are running an older launcher version. Upgrade to the latest version, then switch to polling.


Want to find out more information? Read the setup guide. And as always, reach out if you have any questions at all. We always want to hear from you!

Breaking Change: TF_VAR_spacelift_run_trigger now reported correctly for Pull Request events

We have made a change that may affect you. Tracked runs that are created when a pull request is merged now record the commit as their trigger. Runs from Push events already behaved this way. Before this change was made, these tracked runs had no recorded trigger, so TF_VAR_spacelift_run_trigger fell back to git. It now reports vcs/commit.
The purpose of this change is to fix downstream stacks in a dependency chain, skipping their run when the upstream stack had no output changes.

Who’s affected: You will only be affected if your hooks or Terraform/OpenTofu code check the TF_VAR_spacelift_run_trigger variable for git. You will need to make sure they are updated to accept vcs/commit as well.

Here is an example:

contains(["git", "vcs/commit"], var.spacelift_run_trigger)

As it did before this change, git remains the fallback for runs with no recorded trigger, such as Proposed Runs.
For more information on all the possible values, check out the Spacelift environment documentation. And, as always, let us know if you have any questions, or feedback!

Earlier updates