Skip to content

Commit 73376ed

Browse files
committed
fix(cursor): added slug variable to cursor module
1 parent 496b09d commit 73376ed

File tree

1 file changed

+7
-1
lines changed
  • registry/coder/modules/cursor

1 file changed

+7
-1
lines changed

registry/coder/modules/cursor/main.tf

+7-1
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,20 @@ 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+
3541
data "coder_workspace" "me" {}
3642
data "coder_workspace_owner" "me" {}
3743

3844
resource "coder_app" "cursor" {
3945
agent_id = var.agent_id
4046
external = true
4147
icon = "/icon/cursor.svg"
42-
slug = "cursor"
48+
slug = var.slug
4349
display_name = "Cursor Desktop"
4450
order = var.order
4551
url = join("", [

0 commit comments

Comments
 (0)