Skip to content

Commit 6694018

Browse files
refactor(coder-labs/cursor-cli): support terraform provider coder v2.12.0
1 parent 4c9fab8 commit 6694018

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

registry/coder-labs/modules/cursor-cli/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Run the Cursor Agent CLI in your workspace for interactive coding assistance and
1313
```tf
1414
module "cursor_cli" {
1515
source = "registry.coder.com/coder-labs/cursor-cli/coder"
16-
version = "0.2.1"
16+
version = "0.3.0"
1717
agent_id = coder_agent.example.id
1818
folder = "/home/coder/project"
1919
}
@@ -42,7 +42,7 @@ module "coder-login" {
4242
4343
module "cursor_cli" {
4444
source = "registry.coder.com/coder-labs/cursor-cli/coder"
45-
version = "0.2.1"
45+
version = "0.3.0"
4646
agent_id = coder_agent.example.id
4747
folder = "/home/coder/project"
4848

registry/coder-labs/modules/cursor-cli/main.tf

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ terraform {
44
required_providers {
55
coder = {
66
source = "coder/coder"
7-
version = ">= 2.7"
7+
version = ">= 2.12"
88
}
99
}
1010
}
@@ -132,7 +132,7 @@ resource "coder_env" "cursor_api_key" {
132132

133133
module "agentapi" {
134134
source = "registry.coder.com/coder/agentapi/coder"
135-
version = "1.2.0"
135+
version = "2.0.0"
136136

137137
agent_id = var.agent_id
138138
folder = local.folder
@@ -179,3 +179,7 @@ module "agentapi" {
179179
/tmp/install.sh
180180
EOT
181181
}
182+
183+
output "task_app_id" {
184+
value = module.agentapi.task_app_id
185+
}

0 commit comments

Comments
 (0)