Compare commits
7 Commits
module-gli
...
v1.0.16
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c3eee866d1 | ||
|
|
bf175a1247 | ||
|
|
8fd54e0e78 | ||
|
|
e8ee02c044 | ||
|
|
aebdc9b434 | ||
|
|
d98bfcb20b | ||
|
|
894e507bb3 |
@@ -14,8 +14,9 @@ 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
|
||||||
}
|
}
|
||||||
@@ -31,8 +32,9 @@ 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
|
||||||
}
|
}
|
||||||
@@ -42,8 +44,9 @@ 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 = "https://svgur.com/i/158F.svg" # TODO: add to Coder icons
|
icon = "/icon/desktop.svg"
|
||||||
|
|
||||||
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 = "https://svgur.com/i/158F.svg"
|
icon = "/icon/desktop.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/v2/latest/ides/remote-desktops#rdp-desktop"
|
url = "https://coder.com/docs/ides/remote-desktops#rdp-desktop"
|
||||||
external = true
|
external = true
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user