Skip to content

Potential UI bug with require_predefined_choice #224

@mfickley

Description

@mfickley

Hi!

When utilizing the require_predefined_choice in my options, it doesn't seem to apply in the Rundeck UI as expected.

Given this code:

  option {
    label                     = "ServerName"
    name                      = "ServerName"
    required                  = "true"
    value_choices             = ["Server1", "Server2", "Server3"]
    sort_values               = "true"
    require_predefined_choice = "true"
  }

After applying this, the Rundeck UI displays a freeform textbox for the option as well as a validated drop down list. I only want the predefined dropdown list.

If I go into the option settings in the UI, "Restrictions ' are set to "None" instead of "Enforced from Allowed Values" as I'd expect when setting require_predefined_choice = "true". I've manually checked the box to "Enforced from Allowed Values" then run terraform plan again to see if I missed a setting, but the plan comes back as matching.

Rundeck Version v5.19.0-20260203
terraform-provider-rundeck v1.1.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions