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
{{ message }}
Repository navigation
Can we just not display terraform variable names? #4261
Can we just somehow do not display this internal terraform variable names var.cpu, var.ram etc
The description is enough to explain what to enter to the user.
It will also resolve #4073 as there is no need for a pretty variable name anymore.
I think the description is not mandatory but we may could display the description as primary and the var name as secondary text. If the description is not provided, the var name gets primary. Sounds good?
I think the description is not mandatory but we may could display the description as primary and the var name as secondary text. If the description is not provided, the var name gets primary. Sounds good?
changed the title [-]Can we just do not display `terraform` variable names?[/-][+]Can we just not display `terraform` variable names?[/+]on Sep 30, 2022
Using a coder_parameter is not a simple solution while we already have terraform variables, and they do have a description field. If someone just wants to make the template creation page looks nice without making the actual main.tf too complex. Hiding the variable name is the simplest solution.
Activity
[-]Can we just do not display this?[/-][+]Can we just do not display `terraform` variable names?[/+]BrunoQuaresma commentedon Sep 29, 2022
I think the description is not mandatory but we may could display the description as primary and the var name as secondary text. If the description is not provided, the var name gets primary. Sounds good?
kylecarbs commentedon Sep 29, 2022
We're reworking this flow right now. I'll post some WIP screenshots as it gets further along.
matifali commentedon Sep 29, 2022
Yes this sounds good
[-]Can we just do not display `terraform` variable names?[/-][+]Can we just not display `terraform` variable names?[/+]bpmct commentedon Oct 25, 2022
Closing as a duplicate of #4311
matifali commentedon Oct 26, 2022
Using a

coder_parameteris not a simple solution while we already haveterraform variables, and they do have a description field. If someone just wants to make the template creation page looks nice without making the actualmain.tftoo complex. Hiding the variable name is the simplest solution.matifali commentedon Oct 26, 2022
@bpmct
bpmct commentedon Oct 26, 2022
@matifali the current plan is to deprecate variables (and only using them for template-wide settings/CI jobs)