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" {
3232 default = null
3333}
3434
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+
3547data "coder_workspace" "me" {}
3648data "coder_workspace_owner" "me" {}
3749
3850resource "coder_app" "cursor" {
3951 agent_id = var. agent_id
4052 external = true
4153 icon = " /icon/cursor.svg"
42- slug = " cursor "
43- display_name = " Cursor Desktop "
54+ slug = var . slug
55+ display_name = var . display_name
4456 order = var. order
4557 url = join (" " , [
4658 " cursor://coder.coder-remote/open" ,
You can’t perform that action at this time.
0 commit comments