You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If options are provided, these are the only valid options that can inputted.
If the input value is not apart of the optionset, throw an error.
Try to mimic behavior of terraform apply
Default value is invalid, or passed in via user: preview -v region=asia
data"coder_parameter""region" {
name="region"description="Which region would you like to deploy to?"type="string"default="aus"order=1option {
name="Europe"value="eu"
}
option {
name="United States"value="us"
}
}
╷
│ Error: default value "aus" must be defined as one of options
│
│ with data.coder_parameter.region2,
│ on main.tf line 45, in data "coder_parameter" "region2":
│ 45: data "coder_parameter" "region2" {
│
╵
data"coder_parameter""region" {
name="region"description="Which region would you like to deploy to?"type="string"default="aus"order=1option {
name="Default"value=data.coder_parameter.region.default
}
}
The text was updated successfully, but these errors were encountered:
If
option
s are provided, these are the only valid options that can inputted.If the input value is not apart of the optionset, throw an error.
Try to mimic behavior of
terraform apply
Default value is invalid, or passed in via user:
preview -v region=asia
Add the diagnostic in the parameter function:
preview/extract/parameter.go
Line 16 in 48003cd
What about this???
The text was updated successfully, but these errors were encountered: