diff --git a/registry/coder/modules/windows-rdp/README.md b/registry/coder/modules/windows-rdp/README.md index 87bd98d72..c353c709f 100644 --- a/registry/coder/modules/windows-rdp/README.md +++ b/registry/coder/modules/windows-rdp/README.md @@ -16,7 +16,7 @@ Enable Remote Desktop + a web based client on Windows workspaces, powered by [de module "windows_rdp" { count = data.coder_workspace.me.start_count source = "registry.coder.com/coder/windows-rdp/coder" - version = "1.0.18" + version = "1.1.0" agent_id = resource.coder_agent.main.id resource_id = resource.aws_instance.dev.id } @@ -34,7 +34,7 @@ module "windows_rdp" { module "windows_rdp" { count = data.coder_workspace.me.start_count source = "registry.coder.com/coder/windows-rdp/coder" - version = "1.0.18" + version = "1.1.0" agent_id = resource.coder_agent.main.id resource_id = resource.aws_instance.dev.id } @@ -46,7 +46,7 @@ module "windows_rdp" { module "windows_rdp" { count = data.coder_workspace.me.start_count source = "registry.coder.com/coder/windows-rdp/coder" - version = "1.0.18" + version = "1.1.0" agent_id = resource.coder_agent.main.id resource_id = resource.google_compute_instance.dev[0].id } diff --git a/registry/coder/modules/windows-rdp/main.tf b/registry/coder/modules/windows-rdp/main.tf index 10ece09c4..b7ed9bcd2 100644 --- a/registry/coder/modules/windows-rdp/main.tf +++ b/registry/coder/modules/windows-rdp/main.tf @@ -9,6 +9,18 @@ terraform { } } +variable "order" { + type = number + description = "The order determines the position of app in the UI presentation. The lowest order is shown first and apps with equal order are sorted by name (ascending order)." + default = null +} + +variable "group" { + type = string + description = "The name of a group that this app belongs to." + default = null +} + variable "share" { type = string default = "owner" @@ -68,6 +80,8 @@ resource "coder_app" "windows-rdp" { url = "http://localhost:7171" icon = "/icon/desktop.svg" subdomain = true + order = var.order + group = var.group healthcheck { url = "http://localhost:7171" @@ -78,7 +92,7 @@ resource "coder_app" "windows-rdp" { resource "coder_app" "rdp-docs" { agent_id = var.agent_id - display_name = "Local RDP" + display_name = "Local RDP Docs" slug = "rdp-docs" icon = "https://raw.githubusercontent.com/matifali/logos/main/windows.svg" url = "https://coder.com/docs/ides/remote-desktops#rdp-desktop"