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
The placeholder for a string parameter suggests that if you leave the field empty, the parameter default will be used. However, what you actually get in the Terraform run is an empty string.
@matifali We're not using this module. I suppose it is relatively easy to work around this issue by falling back to your default value, but it requires you to mention the default URL at least twice in the template and is not intuitive to workspace template developers.
changed the title [-]Users should be able to fall back to the default of a variable by choosing an empty string for the parameter[/-][+]coder_parameter default value for type string is empty[/+]on May 3, 2024
Activity
matifali commentedon Apr 30, 2024
The module dotfiles was recently updated to support a default fallback repo.
NiklasRosenstein commentedon May 3, 2024
@matifali We're not using this module. I suppose it is relatively easy to work around this issue by falling back to your default value, but it requires you to mention the default URL at least twice in the template and is not intuitive to workspace template developers.
matifali commentedon May 3, 2024
This relates to the provider, and I am moving it to the
coder/terraform-provider-coder
repo.cc: @stirby
[-]Users should be able to fall back to the default of a variable by choosing an empty string for the parameter[/-][+]coder_parameter default value for type string is empty[/+]