File tree Expand file tree Collapse file tree 1 file changed +14
-2
lines changed
registry/coder/modules/cursor Expand file tree Collapse file tree 1 file changed +14
-2
lines changed 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