Dynamically Populate Blueprint Selection Options
I would like the ability for a Blueprint to dynamically populate an input selection dropdown. This would allow us to populate the dropdown selection with options such as all Spacelift Spaces in the account.
What I’m trying to achieve is being able to populate all Space ID’s as options to select.
Current Set Up
If there is a new Space (e.g., team-c-space)created after the Blueprint is published you currently have to create a new Blueprint, manually update the Blueprint with the Space ID, and publish it. This adds a non-trivial amount of work so that Blueprints are up-to-date with items like Space ID’s and IdP teams.
inputs:
- id: space_id
name: What Space Should The Stack Be Stored In
type: select
options:
- team-a-space-12345678910
- team-b-space-12345678910Ideal Set Up
inputs:
- id: space_id
name: What Space Should The Stack Be Stored In
type: select
options:
- ${{ spacelift.space_ids }}
This request was merged into another request
Comments1
Natalia Gazda
Aug 6, 2025
Thanks @Steve Christian for submitting that! I totally understand why you’re in need for that. We are currently researching a bit different concept to blueprints for service. Something that would be far superior than that, so all blueprints updates are a bit on pause. I will get back to that once we have a decision there and revisit.