Complex input variables for Spacelift templates

Our Terraform modules often use complex variable inputs of type list(object({})). Unfortunately it’s not possible to expose these complex types in our Spacelift templates.

A definition could be something like this:

inputs:
  - id: stacks
    name: Stacks
    description: Stacks that should be available to your Spacelift space
    type: list(object)
    schema:
      - id: name
        name: Name
        type: string
      
      - id: environment
        name: Environment
        type: select
        options:
          - dev
          - staging
          - prod
Workaround
-
Problem
We cant provide a simple-to-use UX for complex Terraform variables.

Please authenticate to join the conversation.

Upvoters
Status

👀 In Review

Board

💡 Feature Requests

Date

About 18 hours ago

Subscribe to post

Get notified by email when there are changes.