Skip to content

Commit 9d0bae1

Browse files
refactor(coder/goose): support terraform provider coder v2.12.0
1 parent 644d080 commit 9d0bae1

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

registry/coder/modules/goose/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Run the [Goose](https://block.github.io/goose/) agent in your workspace to gener
1313
```tf
1414
module "goose" {
1515
source = "registry.coder.com/coder/goose/coder"
16-
version = "2.2.1"
16+
version = "3.0.0"
1717
agent_id = coder_agent.example.id
1818
folder = "/home/coder"
1919
install_goose = true
@@ -79,7 +79,7 @@ resource "coder_agent" "main" {
7979
module "goose" {
8080
count = data.coder_workspace.me.start_count
8181
source = "registry.coder.com/coder/goose/coder"
82-
version = "2.2.1"
82+
version = "3.0.0"
8383
agent_id = coder_agent.example.id
8484
folder = "/home/coder"
8585
install_goose = true

registry/coder/modules/goose/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
}
@@ -140,7 +140,7 @@ EOT
140140

141141
module "agentapi" {
142142
source = "registry.coder.com/coder/agentapi/coder"
143-
version = "1.2.0"
143+
version = "2.0.0"
144144

145145
agent_id = var.agent_id
146146
web_app_slug = local.app_slug
@@ -174,3 +174,7 @@ module "agentapi" {
174174
/tmp/install.sh
175175
EOT
176176
}
177+
178+
output "task_app_id" {
179+
value = module.agentapi.task_app_id
180+
}

0 commit comments

Comments
 (0)