Skip to content

Commit 6fefdb9

Browse files
refactor(coder-labs/cursor-cli): support terraform provider coder v2.12.0
1 parent 797624f commit 6fefdb9

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-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: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,8 +131,7 @@ resource "coder_env" "cursor_api_key" {
131131
}
132132

133133
module "agentapi" {
134-
source = "registry.coder.com/coder/agentapi/coder"
135-
version = "1.2.0"
134+
source = "../../../coder/modules/agentapi"
136135

137136
agent_id = var.agent_id
138137
folder = local.folder
@@ -179,3 +178,7 @@ module "agentapi" {
179178
/tmp/install.sh
180179
EOT
181180
}
181+
182+
output "task_app_id" {
183+
value = module.agentapi.task_app_id
184+
}

0 commit comments

Comments
 (0)