From a381c3ee29c750b01829024b06a295552e7de324 Mon Sep 17 00:00:00 2001 From: Parkreiner Date: Mon, 1 Jul 2024 14:14:53 +0000 Subject: [PATCH] fix: update structure of README for linter --- windows-rdp/README.md | 26 +++++++++++++++++++------- 1 file changed, 19 insertions(+), 7 deletions(-) diff --git a/windows-rdp/README.md b/windows-rdp/README.md index c00e422..5d86082 100644 --- a/windows-rdp/README.md +++ b/windows-rdp/README.md @@ -11,13 +11,29 @@ tags: [windows, rdp, web, desktop] Enable Remote Desktop + a web based client on Windows workspaces, powered by [devolutions-gateway](https://github.com/Devolutions/devolutions-gateway). +```tf +# AWS example. See below for examples of using this module with other providers +module "windows_rdp" { + count = data.coder_workspace.me.start_count + source = "github.com/coder/modules//windows-rdp" + agent_id = resource.coder_agent.main.id + resource_id = resource.aws_instance.dev.id +} +module "windows_rdp" { + count = data.coder_workspace.me.start_count + source = "github.com/coder/modules//windows-rdp" + agent_id = resource.coder_agent.main.id + resource_id = resource.google_compute_instance.dev[0].id +} +``` + ## Video <-- Insert demo video here --> -## Usage +## Examples -For AWS: +### With AWS ```tf module "windows_rdp" { @@ -28,7 +44,7 @@ module "windows_rdp" { } ``` -For Google Cloud: +### With Google Cloud ```tf module "windows_rdp" { @@ -39,10 +55,6 @@ module "windows_rdp" { } ``` -## Tested on - -- ✅ GCP with Windows Server 2022: [Example template](https://gist.github.com/bpmct/18918b8cab9f20295e5c4039b92b5143) - ## Roadmap - [ ] Test on Microsoft Azure.