pull/122/head
Muhammad Atif Ali 2 years ago
parent 09f1b6c98b
commit 7ebca6faae

@ -13,7 +13,7 @@ tags: [helper]
```hcl
module "MODULE_NAME" {
source = "registry.coder.com/modules/MODULE_NAME"
source = "registry.coder.com/modules/MODULE_NAME/coder"
version = "1.0.0"
}
```
@ -28,7 +28,7 @@ Install the Dracula theme from [OpenVSX](https://open-vsx.org/):
```hcl
module "MODULE_NAME" {
source = "registry.coder.com/modules/MODULE_NAME"
source = "registry.coder.com/modules/MODULE_NAME/coder"
version = "1.0.0"
agent_id = coder_agent.example.id
extensions = [
@ -45,7 +45,7 @@ Configure VS Code's [settings.json](https://code.visualstudio.com/docs/getstarte
```hcl
module "MODULE_NAME" {
source = "registry.coder.com/modules/MODULE_NAME"
source = "registry.coder.com/modules/MODULE_NAME/coder"
version = "1.0.0"
agent_id = coder_agent.example.id
extensions = [ "dracula-theme.theme-dracula" ]
@ -61,7 +61,7 @@ Run code-server in the background, don't fetch it from GitHub:
```hcl
module "MODULE_NAME" {
source = "registry.coder.com/modules/MODULE_NAME"
source = "registry.coder.com/modules/MODULE_NAME/coder"
version = "1.0.0"
agent_id = coder_agent.example.id
offline = true

@ -22,7 +22,6 @@ You can test a module locally by updating the source as follows
```hcl
module "example" {
source = "git::https://github.com/<USERNAME>/<REPO>.git//<MODULE-NAME>?ref=<BRANCH-NAME>"
version = "1.0.0"
}
```

@ -16,7 +16,7 @@ e.g.
```hcl
module "code-server" {
source = "registry.coder.com/modules/code-server"
source = "registry.coder.com/modules/code-server/coder"
version = "1.0.0"
agent_id = coder_agent.main.id
}

@ -16,7 +16,7 @@ Customize the preselected parameter value:
```hcl
module "aws-region" {
source = "registry.coder.com/modules/aws-region"
source = "registry.coder.com/modules/aws-region/coder"
version = "1.0.0"
default = "us-east-1"
}
@ -36,7 +36,7 @@ Change the display name and icon for a region using the corresponding maps:
```hcl
module "aws-region" {
source = "registry.coder.com/modules/aws-region"
source = "registry.coder.com/modules/aws-region/coder"
version = "1.0.0"
default = "ap-south-1"
custom_names = {
@ -60,7 +60,7 @@ Hide the Asia Pacific regions Seoul and Osaka:
```hcl
module "aws-region" {
source = "registry.coder.com/modules/aws-region"
source = "registry.coder.com/modules/aws-region/coder"
version = "1.0.0"
exclude = [ "ap-northeast-2", "ap-northeast-3" ]
}

@ -13,7 +13,7 @@ This module adds a parameter with all Azure regions, allowing developers to sele
```hcl
module "azure_region" {
source = "registry.coder.com/modules/azure-region"
source = "registry.coder.com/modules/azure-region/coder"
version = "1.0.0"
default = "eastus"
}
@ -33,7 +33,7 @@ Change the display name and icon for a region using the corresponding maps:
```hcl
module "azure-region" {
source = "registry.coder.com/modules/azure-region"
source = "registry.coder.com/modules/azure-region/coder"
version = "1.0.0"
custom_names = {
"australia": "Go Australia!"
@ -56,7 +56,7 @@ Hide all regions in Australia except australiacentral:
```hcl
module "azure-region" {
source = "registry.coder.com/modules/azure-region"
source = "registry.coder.com/modules/azure-region/coder"
version = "1.0.0"
exclude = [
"australia",

@ -13,7 +13,7 @@ Automatically install [code-server](https://github.com/coder/code-server) in a w
```hcl
module "code-server" {
source = "registry.coder.com/modules/code-server"
source = "registry.coder.com/modules/code-server/coder"
version = "1.0.0"
agent_id = coder_agent.example.id
}
@ -39,7 +39,7 @@ Install the Dracula theme from [OpenVSX](https://open-vsx.org/):
```hcl
module "code-server" {
source = "registry.coder.com/modules/code-server"
source = "registry.coder.com/modules/code-server/coder"
version = "1.0.0"
agent_id = coder_agent.example.id
extensions = [
@ -56,7 +56,7 @@ Configure VS Code's [settings.json](https://code.visualstudio.com/docs/getstarte
```hcl
module "settings" {
source = "registry.coder.com/modules/code-server"
source = "registry.coder.com/modules/code-server/coder"
version = "1.0.0"
agent_id = coder_agent.example.id
extensions = [ "dracula-theme.theme-dracula" ]
@ -72,7 +72,7 @@ Just run code-server in the background, don't fetch it from GitHub:
```hcl
module "settings" {
source = "registry.coder.com/modules/code-server"
source = "registry.coder.com/modules/code-server/coder"
version = "1.0.0"
agent_id = coder_agent.example.id
extensions = [ "dracula-theme.theme-dracula", "ms-azuretools.vscode-docker" ]
@ -85,7 +85,7 @@ Just run code-server in the background, don't fetch it from GitHub:
```hcl
module "settings" {
source = "registry.coder.com/modules/code-server"
source = "registry.coder.com/modules/code-server/coder"
version = "1.0.0"
agent_id = coder_agent.example.id
offline = true

@ -13,7 +13,7 @@ Allow developers to optionally bring their own [dotfiles repository](https://dot
```hcl
module "dotfiles" {
source = "registry.coder.com/modules/dotfiles"
source = "registry.coder.com/modules/dotfiles/coder"
version = "1.0.0"
agent_id = coder_agent.example.id
}

@ -16,7 +16,7 @@ Customize the preselected parameter value:
```hcl
module "exoscale-instance-type" {
source = "registry.coder.com/modules/exoscale-instance-type"
source = "registry.coder.com/modules/exoscale-instance-type/coder"
version = "1.0.0"
default = "standard.medium"
}
@ -44,7 +44,7 @@ Change the display name a type using the corresponding maps:
```hcl
module "exoscale-instance-type" {
source = "registry.coder.com/modules/exoscale-instance-type"
source = "registry.coder.com/modules/exoscale-instance-type/coder"
version = "1.0.0"
default = "standard.medium"
custom_names = {

@ -16,7 +16,7 @@ Customize the preselected parameter value:
```hcl
module "exoscale-zone" {
source = "registry.coder.com/modules/exoscale-zone"
source = "registry.coder.com/modules/exoscale-zone/coder"
version = "1.0.0"
default = "ch-dk-2"
}
@ -43,7 +43,7 @@ Change the display name and icon for a zone using the corresponding maps:
```hcl
module "exoscale-zone" {
source = "registry.coder.com/modules/exoscale-zone"
source = "registry.coder.com/modules/exoscale-zone/coder"
version = "1.0.0"
default = "at-vie-1"
custom_names = {
@ -73,7 +73,7 @@ Hide the Switzerland zones Geneva and Zurich
```hcl
module "exoscale-zone" {
source = "registry.coder.com/modules/exoscale-zone"
source = "registry.coder.com/modules/exoscale-zone/coder"
version = "1.0.0"
exclude = [ "ch-gva-2", "ch-dk-2" ]
}

@ -13,7 +13,7 @@ A file browser for your workspace.
```hcl
module "filebrowser" {
source = "registry.coder.com/modules/filebrowser"
source = "registry.coder.com/modules/filebrowser/coder"
version = "1.0.0"
agent_id = coder_agent.example.id
}
@ -27,7 +27,7 @@ module "filebrowser" {
```hcl
module "filebrowser" {
source = "registry.coder.com/modules/filebrowser"
source = "registry.coder.com/modules/filebrowser/coder"
version = "1.0.0"
agent_id = coder_agent.example.id
folder = "/home/coder/project"
@ -38,7 +38,7 @@ module "filebrowser" {
```hcl
module "filebrowser" {
source = "registry.coder.com/modules/filebrowser"
source = "registry.coder.com/modules/filebrowser/coder"
version = "1.0.0"
agent_id = coder_agent.example.id
database_path = ".config/filebrowser.db"

@ -15,7 +15,7 @@ We can use the simplest format here, only adding a default selection as the `atl
```hcl
module "fly-region" {
source = "registry.coder.com/modules/fly-region"
source = "registry.coder.com/modules/fly-region/coder"
version = "1.0.0"
default = "atl"
}
@ -31,7 +31,7 @@ The regions argument can be used to display only the desired regions in the Code
```hcl
module "fly-region" {
source = "registry.coder.com/modules/fly-region"
source = "registry.coder.com/modules/fly-region/coder"
version = "1.0.0"
default = "ams"
regions = ["ams", "arn", "atl"]
@ -46,7 +46,7 @@ Set custom icons and names with their respective maps.
```hcl
module "fly-region" {
source = "registry.coder.com/modules/fly-region"
source = "registry.coder.com/modules/fly-region/coder"
version = "1.0.0"
default = "ams"
custom_icons = {

@ -18,7 +18,7 @@ This module has a chance of conflicting with the user's dotfiles / the personali
```hcl
module "git-commit-signing" {
source = "registry.coder.com/modules/git-commit-signing"
source = "registry.coder.com/modules/git-commit-signing/coder"
version = "1.0.0"
agent_id = coder_agent.example.id
}

@ -13,7 +13,7 @@ Runs a script that updates git credentials in the workspace to match the user's
```hcl
module "git-config" {
source = "registry.coder.com/modules/git-config"
source = "registry.coder.com/modules/git-config/coder"
version = "1.0.0"
agent_id = coder_agent.example.id
}
@ -27,7 +27,7 @@ TODO: Add screenshot
```hcl
module "git-config" {
source = "registry.coder.com/modules/git-config"
source = "registry.coder.com/modules/git-config/coder"
version = "1.0.0"
agent_id = coder_agent.example.id
allow_email_change = true
@ -40,7 +40,7 @@ TODO: Add screenshot
```hcl
module "git-config" {
source = "registry.coder.com/modules/git-config"
source = "registry.coder.com/modules/git-config/coder"
version = "1.0.0"
agent_id = coder_agent.example.id
allow_username_change = false

@ -18,7 +18,7 @@ Install the JF CLI and authenticate package managers with Artifactory using OAut
```hcl
module "jfrog" {
source = "registry.coder.com/modules/jfrog-oauth"
source = "registry.coder.com/modules/jfrog-oauth/coder"
version = "1.0.0"
agent_id = coder_agent.example.id
jfrog_url = "https://jfrog.example.com"
@ -86,7 +86,7 @@ Configure the Python pip package manager to fetch packages from Artifactory whil
```hcl
module "jfrog" {
source = "registry.coder.com/modules/jfrog-oauth"
source = "registry.coder.com/modules/jfrog-oauth/coder"
version = "1.0.0"
agent_id = coder_agent.example.id
jfrog_url = "https://jfrog.example.com"
@ -114,7 +114,7 @@ The [JFrog extension](https://open-vsx.org/extension/JFrog/jfrog-vscode-extensio
```hcl
module "jfrog" {
source = "registry.coder.com/modules/jfrog-oauth"
source = "registry.coder.com/modules/jfrog-oauth/coder"
version = "1.0.0"
agent_id = coder_agent.example.id
jfrog_url = "https://jfrog.example.com"

@ -14,7 +14,7 @@ Install the JF CLI and authenticate package managers with Artifactory using Arti
```hcl
module "jfrog" {
source = "registry.coder.com/modules/jfrog-token"
source = "registry.coder.com/modules/jfrog-token/coder"
version = "1.0.0"
agent_id = coder_agent.example.id
jfrog_url = "https://XXXX.jfrog.io"
@ -47,7 +47,7 @@ variable "artifactory_access_token" {
```hcl
module "jfrog" {
source = "registry.coder.com/modules/jfrog-token"
source = "registry.coder.com/modules/jfrog-token/coder"
version = "1.0.0"
agent_id = coder_agent.example.id
jfrog_url = "https://YYYY.jfrog.io"
@ -80,7 +80,7 @@ The [JFrog extension](https://open-vsx.org/extension/JFrog/jfrog-vscode-extensio
```hcl
module "jfrog" {
source = "registry.coder.com/modules/jfrog-token"
source = "registry.coder.com/modules/jfrog-token/coder"
version = "1.0.0"
agent_id = coder_agent.example.id
jfrog_url = "https://XXXX.jfrog.io"

@ -15,7 +15,7 @@ A module that adds Jupyter Notebook in your Coder template.
```hcl
module "jupyter-notebook" {
source = "registry.coder.com/modules/jupyter-notebook"
source = "registry.coder.com/modules/jupyter-notebook/coder"
version = "1.0.0"
agent_id = coder_agent.example.id
}

@ -15,7 +15,7 @@ A module that adds JupyterLab in your Coder template.
```hcl
module "jupyterlab" {
source = "registry.coder.com/modules/jupyterlab"
source = "registry.coder.com/modules/jupyterlab/coder"
version = "1.0.0"
agent_id = coder_agent.example.id
}

@ -13,7 +13,7 @@ Run a script on workspace start that allows developers to run custom commands to
```hcl
module "personalize" {
source = "registry.coder.com/modules/personalize"
source = "registry.coder.com/modules/personalize/coder"
version = "1.0.0"
agent_id = coder_agent.example.id
}

@ -56,7 +56,7 @@ slackme npm run long-build
```hcl
module "slackme" {
source = "registry.coder.com/modules/slackme"
source = "registry.coder.com/modules/slackme/coder"
version = "1.0.0"
agent_id = coder_agent.example.id
auth_provider_id = "slack"
@ -72,7 +72,7 @@ slackme npm run long-build
```hcl
module "slackme" {
source = "registry.coder.com/modules/slackme"
source = "registry.coder.com/modules/slackme/coder"
version = "1.0.0"
agent_id = coder_agent.example.id
auth_provider_id = "slack"

@ -15,7 +15,7 @@ Uses the [Coder Remote VS Code Extension](https://github.com/coder/vscode-coder)
```hcl
module "vscode" {
source = "registry.coder.com/modules/vscode-desktop"
source = "registry.coder.com/modules/vscode-desktop/coder"
version = "1.0.0"
agent_id = coder_agent.example.id
}
@ -27,7 +27,7 @@ module "vscode" {
```hcl
module "vscode" {
source = "registry.coder.com/modules/vscode-desktop"
source = "registry.coder.com/modules/vscode-desktop/coder"
version = "1.0.0"
agent_id = coder_agent.example.id
folder = "/home/coder/project"

Loading…
Cancel
Save