C
Coder.com2mo ago
draab

With Dynamic parameter enabled modules from github stopped working

If i have a multi-select parameter like:
data "coder_parameter" "vs_code_extention_select" {
name = "vs_code_extention_select"
display_name = "VS Code extention select"
description = "You can specify one or muliple extentions from the list"
mutable = true
icon = "/icon/code.svg"
type = "list(string)"
form_type = "multi-select"
order = 200
default = jsonencode([])

option {
name = "Dark Theme"
value = "dracula-theme.theme-dracula"
}
option {
name = "Material Icon Theme"
value = "pkief.material-icon-theme"
}
option {
name = "HTML CSS Support"
value = "ecmel.vscode-html-css"
}
option {
name = "Tailwind CSS IntelliSense"
value = "bradlc.vscode-tailwindcss"
}
}
data "coder_parameter" "vs_code_extention_select" {
name = "vs_code_extention_select"
display_name = "VS Code extention select"
description = "You can specify one or muliple extentions from the list"
mutable = true
icon = "/icon/code.svg"
type = "list(string)"
form_type = "multi-select"
order = 200
default = jsonencode([])

option {
name = "Dark Theme"
value = "dracula-theme.theme-dracula"
}
option {
name = "Material Icon Theme"
value = "pkief.material-icon-theme"
}
option {
name = "HTML CSS Support"
value = "ecmel.vscode-html-css"
}
option {
name = "Tailwind CSS IntelliSense"
value = "bradlc.vscode-tailwindcss"
}
}
it will not be shown as multi select without dynamic parameters enabled: (see first image) when i enable dynamic parameters the parameter will be shown correctly (like in playground) but modules from github.com will not be loaded anymore: (see second screenshot - from the new workspace form) if i copy the file from github.com into a folder in the template everything works.
No description
No description
7 Replies
draab
draabOP2mo ago
i tried it on v2.25.1 and v2.24.3
matifali
matifali2mo ago
@Jaayden Halko can you help here. Thanks
draab
draabOP2mo ago
Problem seems to be fixed soon: https://github.com/aquasecurity/trivy/pull/9294
GitHub
fix(misconf): preserve original paths of remote submodules from .te...
Description The current logic for resolving paths to submodules from sources like GitHub, Bitbucket, and registry-based modules (e.g., hashicorp/consul/aws//modules/consul-cluster) is incorrect. Fo...
Phorcys
Phorcys2mo ago
hey @draab were you able to figure this out? can you send your full template file if that's not the case?
draab
draabOP2mo ago
Phorcys
Phorcys2mo ago
ah alright, thanks for the heads-up we try to manage everything in #help which is why I didn't think of checking there! the support experience in discord is a bit rough right now, but we're working on having proper processes on this to avoid this type of situation!
Codercord
Codercord2mo ago
@Phorcys closed the thread.

Did you find this page helpful?