Compare commits
2 Commits
v1.0.16
...
mes/rdp-gl
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6edc903d03 | ||
|
|
83ffef3a7b |
@@ -14,9 +14,8 @@ Enable Remote Desktop + a web based client on Windows workspaces, powered by [de
|
|||||||
```tf
|
```tf
|
||||||
# AWS example. See below for examples of using this module with other providers
|
# AWS example. See below for examples of using this module with other providers
|
||||||
module "windows_rdp" {
|
module "windows_rdp" {
|
||||||
source = "registry.coder.com/coder/module/windows-rdp"
|
|
||||||
version = "1.0.16"
|
|
||||||
count = data.coder_workspace.me.start_count
|
count = data.coder_workspace.me.start_count
|
||||||
|
source = "github.com/coder/modules//windows-rdp"
|
||||||
agent_id = resource.coder_agent.main.id
|
agent_id = resource.coder_agent.main.id
|
||||||
resource_id = resource.aws_instance.dev.id
|
resource_id = resource.aws_instance.dev.id
|
||||||
}
|
}
|
||||||
@@ -32,9 +31,8 @@ https://github.com/coder/modules/assets/28937484/fb5f4a55-7b69-4550-ab62-301e13a
|
|||||||
|
|
||||||
```tf
|
```tf
|
||||||
module "windows_rdp" {
|
module "windows_rdp" {
|
||||||
source = "registry.coder.com/coder/module/windows-rdp"
|
|
||||||
version = "1.0.16"
|
|
||||||
count = data.coder_workspace.me.start_count
|
count = data.coder_workspace.me.start_count
|
||||||
|
source = "github.com/coder/modules//windows-rdp"
|
||||||
agent_id = resource.coder_agent.main.id
|
agent_id = resource.coder_agent.main.id
|
||||||
resource_id = resource.aws_instance.dev.id
|
resource_id = resource.aws_instance.dev.id
|
||||||
}
|
}
|
||||||
@@ -44,9 +42,8 @@ module "windows_rdp" {
|
|||||||
|
|
||||||
```tf
|
```tf
|
||||||
module "windows_rdp" {
|
module "windows_rdp" {
|
||||||
source = "registry.coder.com/coder/module/windows-rdp"
|
|
||||||
version = "1.0.16"
|
|
||||||
count = data.coder_workspace.me.start_count
|
count = data.coder_workspace.me.start_count
|
||||||
|
source = "github.com/coder/modules//windows-rdp"
|
||||||
agent_id = resource.coder_agent.main.id
|
agent_id = resource.coder_agent.main.id
|
||||||
resource_id = resource.google_compute_instance.dev[0].id
|
resource_id = resource.google_compute_instance.dev[0].id
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ variable "admin_password" {
|
|||||||
resource "coder_script" "windows-rdp" {
|
resource "coder_script" "windows-rdp" {
|
||||||
agent_id = var.agent_id
|
agent_id = var.agent_id
|
||||||
display_name = "windows-rdp"
|
display_name = "windows-rdp"
|
||||||
icon = "/icon/desktop.svg"
|
icon = "https://svgur.com/i/158F.svg" # TODO: add to Coder icons
|
||||||
|
|
||||||
script = templatefile("${path.module}/powershell-installation-script.tftpl", {
|
script = templatefile("${path.module}/powershell-installation-script.tftpl", {
|
||||||
admin_username = var.admin_username
|
admin_username = var.admin_username
|
||||||
@@ -56,7 +56,7 @@ resource "coder_app" "windows-rdp" {
|
|||||||
slug = "web-rdp"
|
slug = "web-rdp"
|
||||||
display_name = "Web RDP"
|
display_name = "Web RDP"
|
||||||
url = "http://localhost:7171"
|
url = "http://localhost:7171"
|
||||||
icon = "/icon/desktop.svg"
|
icon = "https://svgur.com/i/158F.svg"
|
||||||
subdomain = true
|
subdomain = true
|
||||||
|
|
||||||
healthcheck {
|
healthcheck {
|
||||||
@@ -71,6 +71,6 @@ resource "coder_app" "rdp-docs" {
|
|||||||
display_name = "Local RDP"
|
display_name = "Local RDP"
|
||||||
slug = "rdp-docs"
|
slug = "rdp-docs"
|
||||||
icon = "https://raw.githubusercontent.com/matifali/logos/main/windows.svg"
|
icon = "https://raw.githubusercontent.com/matifali/logos/main/windows.svg"
|
||||||
url = "https://coder.com/docs/ides/remote-desktops#rdp-desktop"
|
url = "https://coder.com/docs/v2/latest/ides/remote-desktops#rdp-desktop"
|
||||||
external = true
|
external = true
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user