File tree 2 files changed +16
-4
lines changed
registry/coder/modules/cursor
2 files changed +16
-4
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ Uses the [Coder Remote VS Code Extension](https://github.com/coder/vscode-coder)
17
17
module "cursor" {
18
18
count = data.coder_workspace.me.start_count
19
19
source = "registry.coder.com/coder/cursor/coder"
20
- version = "1.0.19 "
20
+ version = "1.1.0 "
21
21
agent_id = coder_agent.example.id
22
22
}
23
23
```
@@ -30,7 +30,7 @@ module "cursor" {
30
30
module "cursor" {
31
31
count = data.coder_workspace.me.start_count
32
32
source = "registry.coder.com/coder/cursor/coder"
33
- version = "1.0.19 "
33
+ version = "1.1.0 "
34
34
agent_id = coder_agent.example.id
35
35
folder = "/home/coder/project"
36
36
}
Original file line number Diff line number Diff line change @@ -32,15 +32,27 @@ variable "order" {
32
32
default = null
33
33
}
34
34
35
+ variable "slug" {
36
+ type = string
37
+ description = " The slug of the app."
38
+ default = " cursor"
39
+ }
40
+
41
+ variable "display_name" {
42
+ type = string
43
+ description = " The display name of the app."
44
+ default = " Cursor Desktop"
45
+ }
46
+
35
47
data "coder_workspace" "me" {}
36
48
data "coder_workspace_owner" "me" {}
37
49
38
50
resource "coder_app" "cursor" {
39
51
agent_id = var. agent_id
40
52
external = true
41
53
icon = " /icon/cursor.svg"
42
- slug = " cursor "
43
- display_name = " Cursor Desktop "
54
+ slug = var . slug
55
+ display_name = var . display_name
44
56
order = var. order
45
57
url = join (" " , [
46
58
" cursor://coder.coder-remote/open" ,
You can’t perform that action at this time.
0 commit comments