Skip to content

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

Closed

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

Activity

  1. 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[/+] on Jul 18, 2022
  2. tjcran commented on Jul 22, 2022

    @tjcran

    Related: #2179

  3. self-assigned this
    on Aug 16, 2022
  4. added a commit that references this issue on Aug 19, 2022
    b6a662e
  5. added a commit that references this issue on Aug 19, 2022
    544bf01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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