From 43304e5d4eff25088e27e01b1576f7863a778b74 Mon Sep 17 00:00:00 2001 From: Muhammad Atif Ali Date: Wed, 17 Apr 2024 11:27:49 +0300 Subject: [PATCH] docs(jetbrains-gateway): add examples on how to use the latest version (#228) --- jetbrains-gateway/README.md | 33 ++++++++++++++++++++++++++++++++- 1 file changed, 32 insertions(+), 1 deletion(-) diff --git a/jetbrains-gateway/README.md b/jetbrains-gateway/README.md index 629afb2..cf51216 100644 --- a/jetbrains-gateway/README.md +++ b/jetbrains-gateway/README.md @@ -27,7 +27,7 @@ module "jetbrains_gateway" { ## Examples -### Add GoLand and WebStorm with the default set to GoLand +### Add GoLand and WebStorm as options with the default set to GoLand ```tf module "jetbrains_gateway" { @@ -41,6 +41,37 @@ module "jetbrains_gateway" { } ``` +### Use the latest release version + +```tf +module "jetbrains_gateway" { + source = "registry.coder.com/modules/jetbrains-gateway/coder" + version = "1.0.11" + agent_id = coder_agent.example.id + agent_name = "example" + folder = "/home/coder/example" + jetbrains_ides = ["GO", "WS"] + default = "GO" + latest = true +} +``` + +### Use the latest EAP version + +```tf +module "jetbrains_gateway" { + source = "registry.coder.com/modules/jetbrains-gateway/coder" + version = "1.0.11" + agent_id = coder_agent.example.id + agent_name = "example" + folder = "/home/coder/example" + jetbrains_ides = ["GO", "WS"] + default = "GO" + latest = true + channel = "eap" +} +``` + ## Supported IDEs This module and JetBrains Gateway support the following JetBrains IDEs: