File tree Expand file tree Collapse file tree 2 files changed +11
-3
lines changed
registry/coder/modules/claude-code Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ Run the [Claude Code](https://docs.anthropic.com/en/docs/agents-and-tools/claude
13
13
``` tf
14
14
module "claude-code" {
15
15
source = "registry.coder.com/coder/claude-code/coder"
16
- version = "2.0.4 "
16
+ version = "2.0.5 "
17
17
agent_id = coder_agent.example.id
18
18
folder = "/home/coder"
19
19
install_claude_code = true
@@ -84,7 +84,7 @@ resource "coder_agent" "main" {
84
84
module "claude-code" {
85
85
count = data.coder_workspace.me.start_count
86
86
source = "registry.coder.com/coder/claude-code/coder"
87
- version = "2.0.4 "
87
+ version = "2.0.5 "
88
88
agent_id = coder_agent.example.id
89
89
folder = "/home/coder"
90
90
install_claude_code = true
@@ -102,7 +102,7 @@ Run Claude Code as a standalone app in your workspace. This will install Claude
102
102
``` tf
103
103
module "claude-code" {
104
104
source = "registry.coder.com/coder/claude-code/coder"
105
- version = "2.0.4 "
105
+ version = "2.0.5 "
106
106
agent_id = coder_agent.example.id
107
107
folder = "/home/coder"
108
108
install_claude_code = true
Original file line number Diff line number Diff line change @@ -289,3 +289,11 @@ resource "coder_ai_task" "claude_code" {
289
289
id = coder_app. claude_code_web . id
290
290
}
291
291
}
292
+
293
+ # As of https://github.com/coder/coder/commit/6ba4b5bbc95e2e528d7f5b1e31fffa200ae1a6db,
294
+ # there's a bug in Coder's Terraform statefile parsing which prevents it from seeing coder_apps
295
+ # in certain scenarios. This is a workaround to bypass this bug until we have a proper fix.
296
+ # For more details see https://github.com/coder/coder/issues/18776
297
+ resource "terraform_data" "claude_code_app_id" {
298
+ input = coder_app. claude_code_web . id
299
+ }
You can’t perform that action at this time.
0 commit comments