- Notifications
You must be signed in to change notification settings - Fork1
Description
##Title
Template push fails with "Invalid registry module source address" for jetbrains module
Description
When attempting to push thekubernetes-devcontainer
template, the template push fails during the "Detecting persistent resources" phase with an invalid module registry source address error.
Steps to Reproduce
- Navigate to the kubernetes-devcontainer template directory
- Run
coder template push kubernetes-devcontainer -d .
- Confirm upload when prompted
Expected Behavior
Template should push successfully without module source address errors.
Actual Behavior
Template push fails with the following error:
==> ⧗ Detecting persistent resources
2025-09-18 18:48:57.303Z Error: Invalid registry module source address
2025-09-18 18:48:57.303Z on main.tf line 437, in module "jetbrains":
2025-09-18 18:48:57.303Z 437: source = "registry.coder.com/modules/coder/jetbrains/coder"
2025-09-18 18:48:57.303Z Failed to parse module registry address: a module registry source address
2025-09-18 18:48:57.303Z must have either three or four slash-separated components.
Environment
- Coder deployment: EKS cluster
- Template: kubernetes-devcontainer (from workshop materials)
- User authenticated successfully via CLI
Additional Context
This appears to be a formatting issue with the module source address in the template. The current format uses 4 components when Terraform expects 3 or 4 in a specific pattern.