|
|
|
@ -19,7 +19,7 @@ module "jetbrains_gateway" {
|
|
|
|
|
agent_name = "example"
|
|
|
|
|
folder = "/home/coder/example"
|
|
|
|
|
jetbrains_ides = ["CL", "GO", "IU", "PY", "WS"]
|
|
|
|
|
default = "GO"
|
|
|
|
|
default = ["GO"]
|
|
|
|
|
}
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
@ -37,7 +37,7 @@ module "jetbrains_gateway" {
|
|
|
|
|
agent_name = "example"
|
|
|
|
|
folder = "/home/coder/example"
|
|
|
|
|
jetbrains_ides = ["GO", "WS"]
|
|
|
|
|
default = "GO"
|
|
|
|
|
default = ["GO"]
|
|
|
|
|
}
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
@ -51,7 +51,7 @@ module "jetbrains_gateway" {
|
|
|
|
|
agent_name = "example"
|
|
|
|
|
folder = "/home/coder/example"
|
|
|
|
|
jetbrains_ides = ["GO", "WS"]
|
|
|
|
|
default = "GO"
|
|
|
|
|
default = ["GO"]
|
|
|
|
|
latest = true
|
|
|
|
|
}
|
|
|
|
|
```
|
|
|
|
@ -66,7 +66,7 @@ module "jetbrains_gateway" {
|
|
|
|
|
agent_name = "example"
|
|
|
|
|
folder = "/home/coder/example"
|
|
|
|
|
jetbrains_ides = ["GO", "WS"]
|
|
|
|
|
default = "GO"
|
|
|
|
|
default = ["GO"]
|
|
|
|
|
latest = true
|
|
|
|
|
channel = "eap"
|
|
|
|
|
}
|
|
|
|
@ -86,7 +86,22 @@ module "jetbrains_gateway" {
|
|
|
|
|
jetbrains_ides = ["GO", "WS"]
|
|
|
|
|
releases_base_link = "https://releases.internal.site/"
|
|
|
|
|
download_base_link = "https://download.internal.site/"
|
|
|
|
|
default = "GO"
|
|
|
|
|
default = ["GO"]
|
|
|
|
|
}
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
### Add multiple IDEs
|
|
|
|
|
|
|
|
|
|
**Note:** This removes the choice of IDE from the user.
|
|
|
|
|
|
|
|
|
|
```tf
|
|
|
|
|
module "jetbrains_gateway" {
|
|
|
|
|
source = "registry.coder.com/modules/jetbrains-gateway/coder"
|
|
|
|
|
version = "1.0.23"
|
|
|
|
|
agent_id = coder_agent.example.id
|
|
|
|
|
agent_name = "example"
|
|
|
|
|
folder = "/home/coder/example"
|
|
|
|
|
default = ["GO", "WS"]
|
|
|
|
|
}
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|