Skip to content

Multi select in Input step isn't working properly #776

@vhadianto

Description

@vhadianto

Describe the bug
Following this example:

pipeline "multiselect_example" {

  param "notifier" {
    type = string
    default = "default"
  }

  step "input" "my_input_step" {
    notifier = notifier[param.notifier]
    type     = "multiselect"
    prompt   = "Select regions:"

    option "us-east-1" {}
    option "us-east-2" {}
    option "us-west-1" {}
    option "us-west-2" {}
  }

  output "my_input_step" {
    value = step.input.my_input_step.value
  }
}

I get a "contains invalid option value(s)" error message.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions