From ee6e7881962d94324deb3d6b292f827155090dca Mon Sep 17 00:00:00 2001 From: Muhammad Atif Ali Date: Thu, 9 Jan 2025 12:14:22 +0500 Subject: [PATCH 1/2] chore(dogfood): add vscode-web module --- dogfood/contents/main.tf | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/dogfood/contents/main.tf b/dogfood/contents/main.tf index b3a4e9fb345fa..ff912fb90a7fa 100644 --- a/dogfood/contents/main.tf +++ b/dogfood/contents/main.tf @@ -149,6 +149,18 @@ module "code-server" { auto_install_extensions = true } +module "vscode-web" { + count = data.coder_workspace.me.start_count + source = "registry.coder.com/modules/vscode-web/coder" + version = ">= 1.0.0" + agent_id = coder_agent.dev.id + install_prefix = "/home/coder/.vscode-web" # by default this is /tmp/vscode-web + folder = local.repo_dir + extensions = ["github.copilot"] + auto_install_extensions = true # will install extensions from the repos .vscode/extensions.json file + accept_license = true +} + module "jetbrains_gateway" { count = data.coder_workspace.me.start_count source = "dev.registry.coder.com/modules/jetbrains-gateway/coder" From 76028443e22e26d134c9ada7ca1c00c08a31b521 Mon Sep 17 00:00:00 2001 From: Muhammad Atif Ali Date: Thu, 9 Jan 2025 12:57:44 +0500 Subject: [PATCH 2/2] remove custom install_prefix --- dogfood/contents/main.tf | 1 - 1 file changed, 1 deletion(-) diff --git a/dogfood/contents/main.tf b/dogfood/contents/main.tf index ff912fb90a7fa..529583e7adbc4 100644 --- a/dogfood/contents/main.tf +++ b/dogfood/contents/main.tf @@ -154,7 +154,6 @@ module "vscode-web" { source = "registry.coder.com/modules/vscode-web/coder" version = ">= 1.0.0" agent_id = coder_agent.dev.id - install_prefix = "/home/coder/.vscode-web" # by default this is /tmp/vscode-web folder = local.repo_dir extensions = ["github.copilot"] auto_install_extensions = true # will install extensions from the repos .vscode/extensions.json file