8000 Ephemeral parameter value not passed to provider when selected in "Build options" · Issue #8654 · coder/coder · GitHub
[go: up one dir, main page]

Skip to content
Ephemeral parameter value not passed to provider when selected in "Build options" #8654
Closed
@aaronlehmann

Description

@aaronlehmann

Trying out the new "ephemeral parameters" feature, I made this parameter in my template ephemeral:

data "coder_parameter" "rebuild_devcontainer" {
  name         = "rebuild_devcontainer"
  display_name = "Force devcontainer rebuild"
  type         = "bool"
  ephemeral    = true
  default      = "false"
  mutable      = true
  order        = 7
}

When I select the non-default value "true" for this parameter in the "Build Options" popup under "Restart", my provider's Update method still sees a false value in the plan.

image

However, this works as expected if I instead go to Settings->Parameters and change the value there.

cc @mtojek

Metadata

Metadata

Assignees

Labels

siteArea: frontend dashboard

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0