Skip to content

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

Closed
@nadzeyav

Description

@nadzeyav

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions