This repository was archived by the owner on May 15, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +11
-5
lines changed Expand file tree Collapse file tree 2 files changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ This module adds a JetBrains Gateway Button to open any workspace with a single
1414``` tf
1515module "jetbrains_gateway" {
1616 source = "registry.coder.com/modules/jetbrains-gateway/coder"
17- version = "1.0.20 "
17+ version = "1.0.21 "
1818 agent_id = coder_agent.example.id
1919 agent_name = "example"
2020 folder = "/home/coder/example"
@@ -32,7 +32,7 @@ module "jetbrains_gateway" {
3232``` tf
3333module "jetbrains_gateway" {
3434 source = "registry.coder.com/modules/jetbrains-gateway/coder"
35- version = "1.0.20 "
35+ version = "1.0.21 "
3636 agent_id = coder_agent.example.id
3737 agent_name = "example"
3838 folder = "/home/coder/example"
@@ -46,7 +46,7 @@ module "jetbrains_gateway" {
4646``` tf
4747module "jetbrains_gateway" {
4848 source = "registry.coder.com/modules/jetbrains-gateway/coder"
49- version = "1.0.20 "
49+ version = "1.0.21 "
5050 agent_id = coder_agent.example.id
5151 agent_name = "example"
5252 folder = "/home/coder/example"
@@ -61,7 +61,7 @@ module "jetbrains_gateway" {
6161``` tf
6262module "jetbrains_gateway" {
6363 source = "registry.coder.com/modules/jetbrains-gateway/coder"
64- version = "1.0.20 "
64+ version = "1.0.21 "
6565 agent_id = coder_agent.example.id
6666 agent_name = "example"
6767 folder = "/home/coder/example"
Original file line number Diff line number Diff line change @@ -18,6 +18,12 @@ variable "agent_id" {
1818 description = " The ID of a Coder agent."
1919}
2020
21+ variable "slug" {
22+ type = string
23+ description = " The slug for the coder_app. Allows resuing the module with the same template."
24+ default = " gateway"
25+ }
26+
2127variable "agent_name" {
2228 type = string
2329 description = " Agent name."
@@ -247,7 +253,7 @@ data "coder_workspace_owner" "me" {}
247253
248254resource "coder_app" "gateway" {
249255 agent_id = var. agent_id
250- slug = " gateway "
256+ slug = var . slug
251257 display_name = local. display_name
252258 icon = local. icon
253259 external = true
You can’t perform that action at this time.
0 commit comments