Skip to content

Commit efac32a

Browse files
authored
fix: Update default value for workspace variable to an empty string (#353)
1 parent a69accb commit efac32a

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

registry/coder/modules/vscode-web/README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Automatically install [Visual Studio Code Server](https://code.visualstudio.com/
1414
module "vscode-web" {
1515
count = data.coder_workspace.me.start_count
1616
source = "registry.coder.com/coder/vscode-web/coder"
17-
version = "1.4.0"
17+
version = "1.4.1"
1818
agent_id = coder_agent.example.id
1919
accept_license = true
2020
}
@@ -30,7 +30,7 @@ module "vscode-web" {
3030
module "vscode-web" {
3131
count = data.coder_workspace.me.start_count
3232
source = "registry.coder.com/coder/vscode-web/coder"
33-
version = "1.4.0"
33+
version = "1.4.1"
3434
agent_id = coder_agent.example.id
3535
install_prefix = "/home/coder/.vscode-web"
3636
folder = "/home/coder"
@@ -44,7 +44,7 @@ module "vscode-web" {
4444
module "vscode-web" {
4545
count = data.coder_workspace.me.start_count
4646
source = "registry.coder.com/coder/vscode-web/coder"
47-
version = "1.4.0"
47+
version = "1.4.1"
4848
agent_id = coder_agent.example.id
4949
extensions = ["github.copilot", "ms-python.python", "ms-toolsai.jupyter"]
5050
accept_license = true
@@ -59,7 +59,7 @@ Configure VS Code's [settings.json](https://code.visualstudio.com/docs/getstarte
5959
module "vscode-web" {
6060
count = data.coder_workspace.me.start_count
6161
source = "registry.coder.com/coder/vscode-web/coder"
62-
version = "1.4.0"
62+
version = "1.4.1"
6363
agent_id = coder_agent.example.id
6464
extensions = ["dracula-theme.theme-dracula"]
6565
settings = {
@@ -77,7 +77,7 @@ By default, this module installs the latest. To pin a specific version, retrieve
7777
module "vscode-web" {
7878
count = data.coder_workspace.me.start_count
7979
source = "registry.coder.com/coder/vscode-web/coder"
80-
version = "1.4.0"
80+
version = "1.4.1"
8181
agent_id = coder_agent.example.id
8282
commit_id = "e54c774e0add60467559eb0d1e229c6452cf8447"
8383
accept_license = true
@@ -93,7 +93,7 @@ Note: Either `workspace` or `folder` can be used, but not both simultaneously. T
9393
module "vscode-web" {
9494
count = data.coder_workspace.me.start_count
9595
source = "registry.coder.com/coder/vscode-web/coder"
96-
version = "1.4.0"
96+
version = "1.4.1"
9797
agent_id = coder_agent.example.id
9898
workspace = "/home/coder/coder.code-workspace"
9999
}

registry/coder/modules/vscode-web/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ variable "platform" {
161161
variable "workspace" {
162162
type = string
163163
description = "Path to a .code-workspace file to open in vscode-web."
164-
default = null
164+
default = ""
165165
}
166166

167167
data "coder_workspace_owner" "me" {}

0 commit comments

Comments
 (0)