What are Spacelift's outgoing IP's

Last updated: July 14, 2025

What are Spacelift's outgoing IP's

The spacelift_ips data source in Terraform returns a list of Spacelift's outgoing IP addresses from the "mothership." This IP list can be useful for configuring network security, such as allowlisting connections coming from Spacelift’s core platform. However, this data source does not cover IP addresses of the workers in Spacelift's public worker pool.

Important Note

If you need to ensure that requests made during runs originate from a known set of IP addresses (such as for compliance or security reasons), consider using a private worker pool instead of relying on the public worker pool. Private worker pools allow you to control and restrict worker IP addresses.

Example Usage

To retrieve Spacelift’s outgoing IP addresses, use the following Terraform configuration:

data "spacelift_ips" "ips" {}

You can use the ips attribute to get the list of outgoing IP addresses and integrate them into your firewall or allowlist rules as needed.

Schema

This data source provides the following read-only attributes:

  • id: The unique ID of the spacelift_ips resource.

  • ips: A set of strings containing the list of Spacelift’s outgoing IP addresses.