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
ProblemWe cant provide a simple-to-use UX for complex Terraform variables.

Please authenticate to join the conversation.

Upvoters
Status

🔭 Discovery

Category

💡 Feature Requests

Date

27 days ago

Subscribe to request

Get notified by email when there are changes.