Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Edit template variables after creation #1886

Closed
Assignees
Emyrk
Labels
apiArea: HTTP APIcliArea: CLI
@bpmct

Description

@bpmct

What is your suggestion?

If I create a template withvar1=foo as a sensitive (template) variable, I have no way to update the template and change the template tovar1=bar. Coder does not support reading from.tfvars files, orTF_VAR environment variables duringcoder templates create orcoder templates update.

Related#1751, but also encompasses updating an existing variable.#1541 allows you to specify vars from a file, but does no work for updating workspaces.

Why do you want this feature?

Editing template variables is a key part of iterating on a template. To name specific workflows:

  • patching/updating base container images for Docker and K8s workspaces
  • rotating/updating the API key for a cloud provider
  • migrating docker host for workspaces
  • fixing broken templates due to invalid (or dynamic) var

Are there any workarounds to get this functionality today?

Hardcoding (and committing) secret variables and environment information.

Some type ofsed magic to inject variables into.tf via CLI scripts. Yikes

Are you interested in submitting a PR for this?

No

Metadata

Metadata

Assignees

Labels

apiArea: HTTP APIcliArea: CLI

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp