Skip to content

Commit 419eac5

Browse files
refactor(coder/goose): support terraform provider coder v2.12.0
1 parent 797624f commit 419eac5

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
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 & 3 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.0-pre0"
88
}
99
}
1010
}
@@ -139,8 +139,7 @@ EOT
139139
}
140140

141141
module "agentapi" {
142-
source = "registry.coder.com/coder/agentapi/coder"
143-
version = "1.2.0"
142+
source = "../agentapi"
144143

145144
agent_id = var.agent_id
146145
web_app_slug = local.app_slug
@@ -174,3 +173,7 @@ module "agentapi" {
174173
/tmp/install.sh
175174
EOT
176175
}
176+
177+
output "task_app_id" {
178+
value = module.agentapi.task_app_id
179+
}

0 commit comments

Comments
 (0)