This section of code overwrites the vscode-web settings that are provided by the developer defined tf file.
| mutate:=func(mmap[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_countsource="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.
This section of code overwrites the vscode-web settings that are provided by the developer defined
tffile.coder/cli/gitauth/vscode.go
Lines 21 to 28 in f41275e
Ideally merge the settings otherwise leave it up to the developer to set the settings in their terraform file.