Skip to content

chore: update all source URLs for modules to reflect new namespace format #89

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 15 commits into from
May 13, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ In addition to the general criteria, all README files must have the following:
```tf
module "cursor" {
count = data.coder_workspace.me.start_count
source = "registry.coder.com/modules/cursor/coder"
source = "registry.coder.com/coder/cursor/coder"
version = "1.0.19"
agent_id = coder_agent.example.id
}
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ In both cases, the main README contains a Terraform snippet for integrating the
```tf
module "cursor" {
count = data.coder_workspace.me.start_count
source = "registry.coder.com/modules/cursor/coder"
source = "registry.coder.com/coder/cursor/coder"
version = "1.0.19"
agent_id = coder_agent.example.id
}
Expand Down
8 changes: 4 additions & 4 deletions cmd/readmevalidation/testSamples/sampleReadmeBody.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Run the [Goose](https://block.github.io/goose/) agent in your workspace to gener

```tf
module "goose" {
source = "registry.coder.com/modules/goose/coder"
source = "registry.coder.com/coder/goose/coder"
version = "1.0.31"
agent_id = coder_agent.example.id
folder = "/home/coder"
Expand Down Expand Up @@ -38,7 +38,7 @@ Your workspace must have `screen` installed to use this.
```tf
module "coder-login" {
count = data.coder_workspace.me.start_count
source = "registry.coder.com/modules/coder-login/coder"
source = "registry.coder.com/coder/coder-login/coder"
version = "1.0.15"
agent_id = coder_agent.example.id
}
Expand Down Expand Up @@ -80,7 +80,7 @@ resource "coder_agent" "main" {

module "goose" {
count = data.coder_workspace.me.start_count
source = "registry.coder.com/modules/goose/coder"
source = "registry.coder.com/coder/goose/coder"
version = "1.0.31"
agent_id = coder_agent.example.id
folder = "/home/coder"
Expand Down Expand Up @@ -108,7 +108,7 @@ Run Goose as a standalone app in your workspace. This will install Goose and run

```tf
module "goose" {
source = "registry.coder.com/modules/goose/coder"
source = "registry.coder.com/coder/goose/coder"
version = "1.0.31"
agent_id = coder_agent.example.id
folder = "/home/coder"
Expand Down
8 changes: 4 additions & 4 deletions examples/modules/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ tags: [helper]
```tf
module "MODULE_NAME" {
count = data.coder_workspace.me.start_count
source = "registry.coder.com/modules/MODULE_NAME/coder"
source = "registry.coder.com/NAMESPACE/MODULE_NAME/coder"
version = "1.0.2"
}
```
Expand All @@ -30,7 +30,7 @@ Install the Dracula theme from [OpenVSX](https://open-vsx.org/):
```tf
module "MODULE_NAME" {
count = data.coder_workspace.me.start_count
source = "registry.coder.com/modules/MODULE_NAME/coder"
source = "registry.coder.com/NAMESPACE/MODULE_NAME/coder"
version = "1.0.2"
agent_id = coder_agent.example.id
extensions = [
Expand All @@ -48,7 +48,7 @@ Configure VS Code's [settings.json](https://code.visualstudio.com/docs/getstarte
```tf
module "MODULE_NAME" {
count = data.coder_workspace.me.start_count
source = "registry.coder.com/modules/MODULE_NAME/coder"
source = "registry.coder.com/NAMESPACE/MODULE_NAME/coder"
version = "1.0.2"
agent_id = coder_agent.example.id
extensions = ["dracula-theme.theme-dracula"]
Expand All @@ -64,7 +64,7 @@ Run code-server in the background, don't fetch it from GitHub:

```tf
module "MODULE_NAME" {
source = "registry.coder.com/modules/MODULE_NAME/coder"
source = "registry.coder.com/NAMESPACE/MODULE_NAME/coder"
version = "1.0.2"
agent_id = coder_agent.example.id
offline = true
Expand Down
2 changes: 1 addition & 1 deletion registry/coder/modules/amazon-dcv-windows/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Enable DCV Server and Web Client on Windows workspaces.
```tf
module "dcv" {
count = data.coder_workspace.me.start_count
source = "registry.coder.com/modules/amazon-dcv-windows/coder"
source = "registry.coder.com/coder/amazon-dcv-windows/coder"
version = "1.0.24"
agent_id = resource.coder_agent.main.id
}
Expand Down
6 changes: 3 additions & 3 deletions registry/coder/modules/aws-region/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Customize the preselected parameter value:
```tf
module "aws-region" {
count = data.coder_workspace.me.start_count
source = "registry.coder.com/modules/aws-region/coder"
source = "registry.coder.com/coder/aws-region/coder"
version = "1.0.12"
default = "us-east-1"
}
Expand All @@ -38,7 +38,7 @@ Change the display name and icon for a region using the corresponding maps:
```tf
module "aws-region" {
count = data.coder_workspace.me.start_count
source = "registry.coder.com/modules/aws-region/coder"
source = "registry.coder.com/coder/aws-region/coder"
version = "1.0.12"
default = "ap-south-1"

Expand All @@ -65,7 +65,7 @@ Hide the Asia Pacific regions Seoul and Osaka:
```tf
module "aws-region" {
count = data.coder_workspace.me.start_count
source = "registry.coder.com/modules/aws-region/coder"
source = "registry.coder.com/coder/aws-region/coder"
version = "1.0.12"
exclude = ["ap-northeast-2", "ap-northeast-3"]
}
Expand Down
6 changes: 3 additions & 3 deletions registry/coder/modules/azure-region/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ This module adds a parameter with all Azure regions, allowing developers to sele
```tf
module "azure_region" {
count = data.coder_workspace.me.start_count
source = "registry.coder.com/modules/azure-region/coder"
source = "registry.coder.com/coder/azure-region/coder"
version = "1.0.12"
default = "eastus"
}
Expand All @@ -35,7 +35,7 @@ Change the display name and icon for a region using the corresponding maps:
```tf
module "azure-region" {
count = data.coder_workspace.me.start_count
source = "registry.coder.com/modules/azure-region/coder"
source = "registry.coder.com/coder/azure-region/coder"
version = "1.0.12"
custom_names = {
"australia" : "Go Australia!"
Expand All @@ -59,7 +59,7 @@ Hide all regions in Australia except australiacentral:
```tf
module "azure-region" {
count = data.coder_workspace.me.start_count
source = "registry.coder.com/modules/azure-region/coder"
source = "registry.coder.com/coder/azure-region/coder"
version = "1.0.12"
exclude = [
"australia",
Expand Down
8 changes: 4 additions & 4 deletions registry/coder/modules/claude-code/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Run the [Claude Code](https://docs.anthropic.com/en/docs/agents-and-tools/claude

```tf
module "claude-code" {
source = "registry.coder.com/modules/claude-code/coder"
source = "registry.coder.com/coder/claude-code/coder"
version = "1.2.1"
agent_id = coder_agent.example.id
folder = "/home/coder"
Expand Down Expand Up @@ -54,7 +54,7 @@ variable "anthropic_api_key" {

module "coder-login" {
count = data.coder_workspace.me.start_count
source = "registry.coder.com/modules/coder-login/coder"
source = "registry.coder.com/coder/coder-login/coder"
version = "1.0.15"
agent_id = coder_agent.example.id
}
Expand Down Expand Up @@ -82,7 +82,7 @@ resource "coder_agent" "main" {

module "claude-code" {
count = data.coder_workspace.me.start_count
source = "registry.coder.com/modules/claude-code/coder"
source = "registry.coder.com/coder/claude-code/coder"
version = "1.1.0"
agent_id = coder_agent.example.id
folder = "/home/coder"
Expand All @@ -101,7 +101,7 @@ Run Claude Code as a standalone app in your workspace. This will install Claude

```tf
module "claude-code" {
source = "registry.coder.com/modules/claude-code/coder"
source = "registry.coder.com/coder/claude-code/coder"
version = "1.2.1"
agent_id = coder_agent.example.id
folder = "/home/coder"
Expand Down
14 changes: 7 additions & 7 deletions registry/coder/modules/code-server/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Automatically install [code-server](https://github.com/coder/code-server) in a w
```tf
module "code-server" {
count = data.coder_workspace.me.start_count
source = "registry.coder.com/modules/code-server/coder"
source = "registry.coder.com/coder/code-server/coder"
version = "1.1.0"
agent_id = coder_agent.example.id
}
Expand All @@ -29,7 +29,7 @@ module "code-server" {
```tf
module "code-server" {
count = data.coder_workspace.me.start_count
source = "registry.coder.com/modules/code-server/coder"
source = "registry.coder.com/coder/code-server/coder"
version = "1.1.0"
agent_id = coder_agent.example.id
install_version = "4.8.3"
Expand All @@ -43,7 +43,7 @@ Install the Dracula theme from [OpenVSX](https://open-vsx.org/):
```tf
module "code-server" {
count = data.coder_workspace.me.start_count
source = "registry.coder.com/modules/code-server/coder"
source = "registry.coder.com/coder/code-server/coder"
version = "1.1.0"
agent_id = coder_agent.example.id
extensions = [
Expand All @@ -61,7 +61,7 @@ Configure VS Code's [settings.json](https://code.visualstudio.com/docs/getstarte
```tf
module "code-server" {
count = data.coder_workspace.me.start_count
source = "registry.coder.com/modules/code-server/coder"
source = "registry.coder.com/coder/code-server/coder"
version = "1.1.0"
agent_id = coder_agent.example.id
extensions = ["dracula-theme.theme-dracula"]
Expand All @@ -78,7 +78,7 @@ Just run code-server in the background, don't fetch it from GitHub:
```tf
module "code-server" {
count = data.coder_workspace.me.start_count
source = "registry.coder.com/modules/code-server/coder"
source = "registry.coder.com/coder/code-server/coder"
version = "1.1.0"
agent_id = coder_agent.example.id
extensions = ["dracula-theme.theme-dracula", "ms-azuretools.vscode-docker"]
Expand All @@ -94,7 +94,7 @@ Run an existing copy of code-server if found, otherwise download from GitHub:
```tf
module "code-server" {
count = data.coder_workspace.me.start_count
source = "registry.coder.com/modules/code-server/coder"
source = "registry.coder.com/coder/code-server/coder"
version = "1.1.0"
agent_id = coder_agent.example.id
use_cached = true
Expand All @@ -107,7 +107,7 @@ Just run code-server in the background, don't fetch it from GitHub:
```tf
module "code-server" {
count = data.coder_workspace.me.start_count
source = "registry.coder.com/modules/code-server/coder"
source = "registry.coder.com/coder/code-server/coder"
version = "1.1.0"
agent_id = coder_agent.example.id
offline = true
Expand Down
2 changes: 1 addition & 1 deletion registry/coder/modules/coder-login/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Automatically logs the user into Coder when creating their workspace.
```tf
module "coder-login" {
count = data.coder_workspace.me.start_count
source = "registry.coder.com/modules/coder-login/coder"
source = "registry.coder.com/coder/coder-login/coder"
version = "1.0.15"
agent_id = coder_agent.example.id
}
Expand Down
4 changes: 2 additions & 2 deletions registry/coder/modules/cursor/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Uses the [Coder Remote VS Code Extension](https://github.com/coder/vscode-coder)
```tf
module "cursor" {
count = data.coder_workspace.me.start_count
source = "registry.coder.com/modules/cursor/coder"
source = "registry.coder.com/coder/cursor/coder"
version = "1.0.19"
agent_id = coder_agent.example.id
}
Expand All @@ -29,7 +29,7 @@ module "cursor" {
```tf
module "cursor" {
count = data.coder_workspace.me.start_count
source = "registry.coder.com/modules/cursor/coder"
source = "registry.coder.com/coder/cursor/coder"
version = "1.0.19"
agent_id = coder_agent.example.id
folder = "/home/coder/project"
Expand Down
2 changes: 1 addition & 1 deletion registry/coder/modules/devcontainers-cli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ The devcontainers-cli module provides an easy way to install [`@devcontainers/cl

```tf
module "devcontainers-cli" {
source = "registry.coder.com/modules/devcontainers-cli/coder"
source = "registry.coder.com/coder/devcontainers-cli/coder"
version = "1.0.3"
agent_id = coder_agent.example.id
}
Expand Down
12 changes: 6 additions & 6 deletions registry/coder/modules/dotfiles/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Under the hood, this module uses the [coder dotfiles](https://coder.com/docs/v2/
```tf
module "dotfiles" {
count = data.coder_workspace.me.start_count
source = "registry.coder.com/modules/dotfiles/coder"
source = "registry.coder.com/coder/dotfiles/coder"
version = "1.0.29"
agent_id = coder_agent.example.id
}
Expand All @@ -31,7 +31,7 @@ module "dotfiles" {
```tf
module "dotfiles" {
count = data.coder_workspace.me.start_count
source = "registry.coder.com/modules/dotfiles/coder"
source = "registry.coder.com/coder/dotfiles/coder"
version = "1.0.29"
agent_id = coder_agent.example.id
}
Expand All @@ -42,7 +42,7 @@ module "dotfiles" {
```tf
module "dotfiles" {
count = data.coder_workspace.me.start_count
source = "registry.coder.com/modules/dotfiles/coder"
source = "registry.coder.com/coder/dotfiles/coder"
version = "1.0.29"
agent_id = coder_agent.example.id
user = "root"
Expand All @@ -54,14 +54,14 @@ module "dotfiles" {
```tf
module "dotfiles" {
count = data.coder_workspace.me.start_count
source = "registry.coder.com/modules/dotfiles/coder"
source = "registry.coder.com/coder/dotfiles/coder"
version = "1.0.29"
agent_id = coder_agent.example.id
}

module "dotfiles-root" {
count = data.coder_workspace.me.start_count
source = "registry.coder.com/modules/dotfiles/coder"
source = "registry.coder.com/coder/dotfiles/coder"
version = "1.0.29"
agent_id = coder_agent.example.id
user = "root"
Expand All @@ -76,7 +76,7 @@ You can set a default dotfiles repository for all users by setting the `default_
```tf
module "dotfiles" {
count = data.coder_workspace.me.start_count
source = "registry.coder.com/modules/dotfiles/coder"
source = "registry.coder.com/coder/dotfiles/coder"
version = "1.0.29"
agent_id = coder_agent.example.id
default_dotfiles_uri = "https://github.com/coder/dotfiles"
Expand Down
8 changes: 4 additions & 4 deletions registry/coder/modules/filebrowser/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ A file browser for your workspace.
```tf
module "filebrowser" {
count = data.coder_workspace.me.start_count
source = "registry.coder.com/modules/filebrowser/coder"
source = "registry.coder.com/coder/filebrowser/coder"
version = "1.0.31"
agent_id = coder_agent.example.id
}
Expand All @@ -29,7 +29,7 @@ module "filebrowser" {
```tf
module "filebrowser" {
count = data.coder_workspace.me.start_count
source = "registry.coder.com/modules/filebrowser/coder"
source = "registry.coder.com/coder/filebrowser/coder"
version = "1.0.31"
agent_id = coder_agent.example.id
folder = "/home/coder/project"
Expand All @@ -41,7 +41,7 @@ module "filebrowser" {
```tf
module "filebrowser" {
count = data.coder_workspace.me.start_count
source = "registry.coder.com/modules/filebrowser/coder"
source = "registry.coder.com/coder/filebrowser/coder"
version = "1.0.31"
agent_id = coder_agent.example.id
database_path = ".config/filebrowser.db"
Expand All @@ -53,7 +53,7 @@ module "filebrowser" {
```tf
module "filebrowser" {
count = data.coder_workspace.me.start_count
source = "registry.coder.com/modules/filebrowser/coder"
source = "registry.coder.com/coder/filebrowser/coder"
version = "1.0.31"
agent_id = coder_agent.example.id
agent_name = "main"
Expand Down
Loading