From 963fcfc3a5d7883fc6b38a2abadfb1064834ceb3 Mon Sep 17 00:00:00 2001 From: Muhammad Atif Ali Date: Thu, 29 Feb 2024 03:06:49 +0500 Subject: [PATCH] docs: add coder module as an installation method (#6692) Co-authored-by: Asher --- docs/coder.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/docs/coder.md b/docs/coder.md index 5b74e1947..f62a3c2ed 100644 --- a/docs/coder.md +++ b/docs/coder.md @@ -33,5 +33,16 @@ resource "coder_app" "code-server" { } ``` +Or use our official [`code-server`](https://registry.coder.com/modules/code-server) module from the Coder [module registry](htpps://registry.coder.com/modules): + +```terraform +module "code-server" { + source = "registry.coder.com/modules/code-server/coder" + version = "1.0.5" + agent_id = coder_agent.example.id + extensions = ["dracula-theme.theme-dracula", "ms-azuretools.vscode-docker"] +} +``` + If you run into issues, ask for help on the `coder/coder` [Discussions here](https://github.com/coder/coder/discussions).