Skip to content

Commit

Permalink
Support multiple default IDEs in JetBrains Gateway
Browse files Browse the repository at this point in the history
  • Loading branch information
matifali committed Nov 14, 2024
1 parent 937ffcd commit 70020d8
Showing 1 changed file with 20 additions and 5 deletions.
25 changes: 20 additions & 5 deletions jetbrains-gateway/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
}
```

Expand All @@ -37,7 +37,7 @@ module "jetbrains_gateway" {
agent_name = "example"
folder = "/home/coder/example"
jetbrains_ides = ["GO", "WS"]
default = "GO"
default = ["GO"]
}
```

Expand All @@ -51,7 +51,7 @@ module "jetbrains_gateway" {
agent_name = "example"
folder = "/home/coder/example"
jetbrains_ides = ["GO", "WS"]
default = "GO"
default = ["GO"]
latest = true
}
```
Expand All @@ -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"
}
Expand All @@ -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"]
}
```

Expand Down

0 comments on commit 70020d8

Please sign in to comment.