We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d48b68d commit 3878e66Copy full SHA for 3878e66
jetbrains-gateway/main.tf
@@ -14,6 +14,11 @@ variable "agent_id" {
14
description = "The ID of a Coder agent."
15
}
16
17
+variable "agent_name" {
18
+ type = string
19
+ description = "Agent name."
20
+}
21
+
22
variable "folder" {
23
type = string
24
description = "The directory to open in the IDE. e.g. /home/coder/project"
@@ -119,8 +124,8 @@ resource "coder_app" "gateway" {
119
124
url = join("", [
120
125
"jetbrains-gateway://connect#type=coder&workspace=",
121
126
data.coder_workspace.me.name,
122
- "&agent_id=",
123
- var.agent_id,
127
+ "&agent=",
128
+ var.agent_name,
129
"&folder=",
130
var.folder,
131
"&url=",
0 commit comments