Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Tracked by #1101 ...
sharkymark opened this issue Apr 24, 2022 · 5 comments
Assignees
Labels
api Area: HTTP API docs Area: coder.com/docs
Milestone

Comments

@sharkymark
Copy link
Contributor

sharkymark commented Apr 24, 2022

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

@deansheather
Copy link
Member

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.

@im-coder-lg
Copy link
Contributor

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

@misskniss misskniss 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 May 10, 2022
@misskniss misskniss added the docs Area: coder.com/docs label May 10, 2022
@bpmct
Copy link
Member

bpmct commented May 17, 2022

this is addressed and documented in #1526

@bpmct bpmct self-assigned this May 17, 2022
@jsjoeio
Copy link
Contributor

jsjoeio commented May 20, 2022

@bpmct Does that mean we can close this?

@jsjoeio
Copy link
Contributor

jsjoeio commented May 20, 2022

Closing via #1115 (comment)

@jsjoeio jsjoeio closed this as completed May 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api Area: HTTP API docs Area: coder.com/docs
Projects
None yet
Development

No branches or pull requests

9 participants