-
Notifications
You must be signed in to change notification settings - Fork 952
Open
Description
This section of code overwrites the vscode-web settings that are provided by the developer defined tf
file.
Lines 21 to 28 in f41275e
mutate := func(m map[string]interface{}) { | |
// This prevents VS Code from overriding GIT_ASKPASS, which | |
// we use to automatically authenticate Git providers. | |
m["git.useIntegratedAskPass"] = false | |
// This prevents VS Code from using it's own GitHub authentication | |
// which would circumvent cloning with Coder-configured providers. | |
m["github.gitAuthentication"] = false | |
} |
module "vscode-web" {
count = data.coder_workspace.me.start_count
source = "registry.coder.com/modules/vscode-web/coder"
version = "1.3.0"
settings = { ... } # <- these settings get overwritten
}
Ideally merge the settings otherwise leave it up to the developer to set the settings in their terraform file.
bpmct
Metadata
Metadata
Assignees
Labels
No labels