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
1313``` tf
1414module "claude-code" {
1515 source = "registry.coder.com/coder/claude-code/coder"
16- version = "2.0.4 "
16+ version = "2.0.5 "
1717 agent_id = coder_agent.example.id
1818 folder = "/home/coder"
1919 install_claude_code = true
@@ -84,7 +84,7 @@ resource "coder_agent" "main" {
8484module "claude-code" {
8585 count = data.coder_workspace.me.start_count
8686 source = "registry.coder.com/coder/claude-code/coder"
87- version = "2.0.4 "
87+ version = "2.0.5 "
8888 agent_id = coder_agent.example.id
8989 folder = "/home/coder"
9090 install_claude_code = true
@@ -102,7 +102,7 @@ Run Claude Code as a standalone app in your workspace. This will install Claude
102102``` tf
103103module "claude-code" {
104104 source = "registry.coder.com/coder/claude-code/coder"
105- version = "2.0.4 "
105+ version = "2.0.5 "
106106 agent_id = coder_agent.example.id
107107 folder = "/home/coder"
108108 install_claude_code = true
Original file line number Diff line number Diff line change @@ -289,3 +289,11 @@ resource "coder_ai_task" "claude_code" {
289289 id = coder_app. claude_code_web . id
290290 }
291291}
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