fix: fix misc. issues (#45)

This commit is contained in:
Muhammad Atif Ali
2023-09-26 14:27:12 +03:00
committed by GitHub
parent 1e3ac8be4c
commit 34aedce094
16 changed files with 56 additions and 168 deletions

View File

@@ -12,3 +12,10 @@ tags: [ide, vscode, helper]
Add a button to open any workspace with a single click.
Uses the [Coder Remote VS Code Extension](https://github.com/coder/vscode-coder).
```hcl
module "vscode" {
source = "https://registry.coder.com/modules/vscode-desktop"
agent_id = coder_agent.example.id
}
```

View File

@@ -17,10 +17,11 @@ variable "agent_id" {
data "coder_workspace" "me" {}
resource "coder_app" "vscode" {
agent_id = var.agent_id
external = true
icon = "/icons/code.svg"
slug = "vscode"
agent_id = var.agent_id
external = true
icon = "/icon/code.svg"
slug = "vscode"
display_name = "VS Code Desktop"
url = join("", [
"vscode://coder.coder-remote/open?owner=",
data.coder_workspace.me.owner,