Thanks to visit codestin.com
Credit goes to github.com

Skip to content

GCP template references Coder terraform provider v0.3.4 that doesn't support coder-app #2966

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 #3042 ...
nadzeyav opened this issue Jul 13, 2022 · 1 comment · Fixed by #3581
Closed
Tracked by #3042 ...
Assignees

Comments

@nadzeyav
Copy link

nadzeyav commented Jul 13, 2022

Problem

The issue is the following: I wanted to add code-server to my template created from shared template, but got an error that such resource is not supported. Only after change of template to use the latest one I was able to update template to add app url to workspace UI.

  1. Login to coder cli
  2. Run: coder templates init
  3. Choose: develop on Develop in Linux on Google Cloud

main.tf contains the following
image

  1. Change main.tf file to add code-server coder app (add section with resource "coder_app" "code-server" and change resource "coder_agent" "dev" section according to https://coder.com/docs/coder-oss/latest/ides/configuring-web-ides#code-server)
  2. Create template: getting an error

image

  1. Update version to latest -> template is successfully created

Definition of Done

GCP Example template uses latest version by default

@kylecarbs kylecarbs changed the title Shared templates: gcp template references to coder "0.3.4" that does not support coder-app GCP template references Coder terraform provider v0.3.4 that doesn't support coder-app Jul 18, 2022
@kylecarbs kylecarbs mentioned this issue Jul 19, 2022
20 tasks
@tjcran
Copy link

tjcran commented Jul 22, 2022

Related: #2179

@tjcran tjcran mentioned this issue Jul 29, 2022
25 tasks
@mafredri mafredri self-assigned this Aug 16, 2022
mafredri added a commit that referenced this issue Aug 19, 2022
Additionally, a convenience script was added to
`examples/update_template_versions.sh` to keep the templates up-to-date.

Fixes #2966
mafredri added a commit that referenced this issue Aug 19, 2022
Additionally, a convenience script was added to
`examples/update_template_versions.sh` to keep the templates up-to-date.

Fixes #2966
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants