|
|
@ -13,23 +13,23 @@ Automatically install [Visual Studio Code Server](https://code.visualstudio.com/
|
|
|
|
|
|
|
|
|
|
|
|
```hcl
|
|
|
|
```hcl
|
|
|
|
module "vscode-web" {
|
|
|
|
module "vscode-web" {
|
|
|
|
source = "https://registry.coder.com/modules/vscode-server"
|
|
|
|
source = "https://registry.coder.com/modules/vscode-web"
|
|
|
|
agent_id = coder_agent.example.id
|
|
|
|
agent_id = coder_agent.example.id
|
|
|
|
accept_license = true
|
|
|
|
accept_license = true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
```
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|

|
|
|
|

|
|
|
|
|
|
|
|
|
|
|
|
## Examples
|
|
|
|
## Examples
|
|
|
|
|
|
|
|
|
|
|
|
### Install VS Code Server to a custom folder
|
|
|
|
### Install VS Code Web to a custom folder
|
|
|
|
|
|
|
|
|
|
|
|
```hcl
|
|
|
|
```hcl
|
|
|
|
module "vscode-web" {
|
|
|
|
module "vscode-web" {
|
|
|
|
source = "https://registry.coder.com/modules/vscode-server"
|
|
|
|
source = "https://registry.coder.com/modules/vscode-web"
|
|
|
|
agent_id = coder_agent.example.id
|
|
|
|
agent_id = coder_agent.example.id
|
|
|
|
install_dir = "/home/coder/.vscode-server"
|
|
|
|
install_dir = "/home/coder/.vscode-web"
|
|
|
|
folder = "/home/coder"
|
|
|
|
folder = "/home/coder"
|
|
|
|
accept_license = true
|
|
|
|
accept_license = true
|
|
|
|
}
|
|
|
|
}
|
|
|
|