Skip to content

Docs: after changing an image in main.tf for docker-local, coder workspaces create still shows old image I changed  #1115

Closed

Description

@sharkymark

AC: We need documentation to clarify this functionality for the user. Entire create and edit of a template.

OS Information

  • OS: Big Sur
  • Browser (if applicable):
  • Architecture: AMD
  • coder --version: 0.4.3

Steps to Reproduce

  1. I change the main.tf for docker-local to replace the enterprise-java with enterprise-intellij
  2. I run docker workspaces create -template="docker-local" mark-docker-intellij-ws but in the user input, it still shows codercom/enterprise-java:ubuntu and not the intellij one

Expected

docker workspaces create should show enterprise-intellij in the choice of workspaces to build

Actual

docker workspaces create shows the enterprise-java even though I removed it from the main.tf

Logs

Screenshot

image

image

Notes

Activity

  1. added this to the V2 Beta milestone on May 4, 2022
  2. deansheather commented on May 9, 2022

    @deansheather
    Collaborator

    Editing the terraform file locally does not sync it to coder automatically. You need to run coder template edit or equivalent if that's been implemented then it should update on the backend.

  3. im-coder-lg commented on May 9, 2022

    @im-coder-lg
    Contributor

    To update I think you should be running coder templates update, which rebuilds or recreates the template.

  4. changed the title [-]bug: after changing an image in main.tf for docker-local, coder workspaces create still shows old image I changed [/-] [+]Docs: after changing an image in main.tf for docker-local, coder workspaces create still shows old image I changed [/+] on May 10, 2022
  5. bpmct commented on May 17, 2022

    @bpmct
    Member

    this is addressed and documented in #1526

  6. self-assigned this
    on May 17, 2022
  7. jsjoeio commented on May 20, 2022

    @jsjoeio
    Contributor

    @bpmct Does that mean we can close this?

  8. jsjoeio commented on May 20, 2022

    @jsjoeio
    Contributor

    Closing via #1115 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

apiArea: HTTP APIdocsArea: coder.com/docs

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions