From 432630c5faf31e0dcc7d5ee5d4b1efd87f3d9dbc Mon Sep 17 00:00:00 2001 From: Phorcys <57866459+phorcys420@users.noreply.github.com> Date: Tue, 17 Dec 2024 12:39:15 +0000 Subject: [PATCH 1/3] chore: edit type --- code-server/main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code-server/main.tf b/code-server/main.tf index 99616934..5357f8b0 100644 --- a/code-server/main.tf +++ b/code-server/main.tf @@ -39,7 +39,7 @@ variable "slug" { } variable "settings" { - type = map(string) + type = map(any) description = "A map of settings to apply to code-server." default = {} } From bd824154d5b314fb56422ce0b040dfb59c4ec9b1 Mon Sep 17 00:00:00 2001 From: Phorcys <57866459+phorcys420@users.noreply.github.com> Date: Tue, 17 Dec 2024 12:51:24 +0000 Subject: [PATCH 2/3] chore: edit type --- code-server/main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code-server/main.tf b/code-server/main.tf index 5357f8b0..c80e5378 100644 --- a/code-server/main.tf +++ b/code-server/main.tf @@ -39,7 +39,7 @@ variable "slug" { } variable "settings" { - type = map(any) + type = any description = "A map of settings to apply to code-server." default = {} } From 0ea9ff5550660c0443ef1eae05f07cd3f764c16b Mon Sep 17 00:00:00 2001 From: Phorcys <57866459+phorcys420@users.noreply.github.com> Date: Tue, 17 Dec 2024 13:02:57 +0000 Subject: [PATCH 3/3] chore: bump version --- code-server/README.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/code-server/README.md b/code-server/README.md index 330661c2..2238793f 100644 --- a/code-server/README.md +++ b/code-server/README.md @@ -14,7 +14,7 @@ Automatically install [code-server](https://github.com/coder/code-server) in a w ```tf module "code-server" { source = "registry.coder.com/modules/code-server/coder" - version = "1.0.18" + version = "1.0.26" agent_id = coder_agent.example.id } ``` @@ -28,7 +28,7 @@ module "code-server" { ```tf module "code-server" { source = "registry.coder.com/modules/code-server/coder" - version = "1.0.18" + version = "1.0.26" agent_id = coder_agent.example.id install_version = "4.8.3" } @@ -41,7 +41,7 @@ Install the Dracula theme from [OpenVSX](https://open-vsx.org/): ```tf module "code-server" { source = "registry.coder.com/modules/code-server/coder" - version = "1.0.18" + version = "1.0.26" agent_id = coder_agent.example.id extensions = [ "dracula-theme.theme-dracula" @@ -58,7 +58,7 @@ Configure VS Code's [settings.json](https://code.visualstudio.com/docs/getstarte ```tf module "code-server" { source = "registry.coder.com/modules/code-server/coder" - version = "1.0.18" + version = "1.0.26" agent_id = coder_agent.example.id extensions = ["dracula-theme.theme-dracula"] settings = { @@ -74,7 +74,7 @@ Just run code-server in the background, don't fetch it from GitHub: ```tf module "code-server" { source = "registry.coder.com/modules/code-server/coder" - version = "1.0.18" + version = "1.0.26" agent_id = coder_agent.example.id extensions = ["dracula-theme.theme-dracula", "ms-azuretools.vscode-docker"] } @@ -89,7 +89,7 @@ Run an existing copy of code-server if found, otherwise download from GitHub: ```tf module "code-server" { source = "registry.coder.com/modules/code-server/coder" - version = "1.0.18" + version = "1.0.26" agent_id = coder_agent.example.id use_cached = true extensions = ["dracula-theme.theme-dracula", "ms-azuretools.vscode-docker"] @@ -101,7 +101,7 @@ Just run code-server in the background, don't fetch it from GitHub: ```tf module "code-server" { source = "registry.coder.com/modules/code-server/coder" - version = "1.0.18" + version = "1.0.26" agent_id = coder_agent.example.id offline = true }