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
Feat: load parameters from file on workspace creation #1377
Allow users to specify a file on disk for coder create command, e.g. through a flag --parameter-file
Why do you want this feature?
Allows coder create to be more easily used in scripts. Today we prompt, which is hard to automate.
Bug: can't use Backspace in "Specify a name for your workspace" #1226 stems from a fix that was made to allow long inputs to be entered on macOS terminal. If we revert change to fix the backspace bug, we need some workaround method that will allow long inputs on the CLI for macOS, and this parameter file fits the bill.
General usability. Users that create more than one similar workspace today are forced to reenter the same data at prompts.
Are there any workarounds to get this functionality today?
Not as such, although they can enter parameters at the prompts.
I can see the importance of this, but I'm also hesitant to say it's a "must" for flipping the switch given the tightness of the timeline we currently have.
Let's leave as Community MVP for now. I think we can also live without it by MVP launch.. but it would be a really good nice to have for launch. And this is a "should have" soon after launch, IMO. This enables a lot of good stuff.
I think this bug is important because it is the only proposed solution for #1426, which means MacOS users have no way to enter long variables. It's also worth noting that .tfvars files and TF_VAR_varname are not supported in Coder at this point.
Activity
tjcran commentedon May 11, 2022
I can see the importance of this, but I'm also hesitant to say it's a "must" for flipping the switch given the tightness of the timeline we currently have.
misskniss commentedon May 12, 2022
I am game to move it unless @spikecurtis thinks he can bust it out.
spikecurtis commentedon May 12, 2022
I'm only around for 4 days next sprint, so let's not push it.
tjcran commentedon May 12, 2022
Let's leave as Community MVP for now. I think we can also live without it by MVP launch.. but it would be a really good nice to have for launch. And this is a "should have" soon after launch, IMO. This enables a lot of good stuff.
ketang commentedon May 15, 2022
Sounds like a good starter task. I'll assign it to our intern.
bpmct commentedon May 16, 2022
I think this bug is important because it is the only proposed solution for #1426, which means MacOS users have no way to enter long variables. It's also worth noting that
.tfvarsfiles andTF_VAR_varnameare not supported in Coder at this point.