File tree Expand file tree Collapse file tree 2 files changed +16
-4
lines changed
registry/coder/modules/cursor Expand file tree Collapse file tree 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)
1717module "cursor" {
1818 count = data.coder_workspace.me.start_count
1919 source = "registry.coder.com/coder/cursor/coder"
20- version = "1.0.19 "
20+ version = "1.1.0 "
2121 agent_id = coder_agent.example.id
2222}
2323```
@@ -30,7 +30,7 @@ module "cursor" {
3030module "cursor" {
3131 count = data.coder_workspace.me.start_count
3232 source = "registry.coder.com/coder/cursor/coder"
33- version = "1.0.19 "
33+ version = "1.1.0 "
3434 agent_id = coder_agent.example.id
3535 folder = "/home/coder/project"
3636}
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