2023-09-20 14:01:11 -05:00
2023-09-20 14:01:11 -05:00
2023-09-19 13:22:04 -05:00
2023-09-20 14:01:11 -05:00
2023-09-20 14:01:11 -05:00
2023-09-19 13:22:04 -05:00
2023-09-20 14:01:11 -05:00
2023-09-20 14:01:11 -05:00
2023-09-19 13:22:04 -05:00
2023-09-19 13:22:04 -05:00
2023-09-18 15:57:02 +00:00
2023-09-19 13:22:04 -05:00

Modules extend Templates to create reusable components for your development environment.

e.g.

module "code-server" {
    source = "https://registry.coder.com/modules/code-server"
    agent_id = coder_agent.main.id
}
  • code-server: Install on start, create an app to access via the dashboard, install extensions, and pre-configure editor settings.
  • personalize: Run a script on workspace start that allows developers to run custom commands to personalize their workspace.
  • VS Code Desktop: Add a button to open any workspace in VS Code with a single click.

Registry

Check out the Coder Registry for instructions to integrate modules into your template.

Contributing a Module

To quickly start contributing with a new module, clone this repository and run:

./new.sh

Test a module by running an instance of Coder on your local machine:

$ coder server --in-memory

Create a template and edit it to include your development module:

Info The Docker starter template is recommended for quick-iteration!

module "testing" {
    source = "/home/user/coder/modules/my-new-module"
}

Build a workspace and your module will be consumed! 🥳

Open a pull-request with your module, a member of the Coder team will manually test it, and after-merge it will appear on the Registry.

Description
A collection of Terraform Modules to extend Coder templates.
Readme 19 MiB
v1.0.29-1 Latest
2025-02-15 18:28:07 +00:00
Languages
HCL 47.1%
TypeScript 26.5%
Shell 18.6%
JavaScript 5.1%
PowerShell 2.7%