From 85fe68275c607a742eb42dac8f71c3c53ebb19bd Mon Sep 17 00:00:00 2001 From: DevelopmentCats Date: Mon, 22 Dec 2025 11:44:03 -0600 Subject: [PATCH] feat(coder/modules/claude-code): testing claude-code path --- registry/coder/modules/claude-code/main.tf | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/registry/coder/modules/claude-code/main.tf b/registry/coder/modules/claude-code/main.tf index bd160ded..e3cd98ae 100644 --- a/registry/coder/modules/claude-code/main.tf +++ b/registry/coder/modules/claude-code/main.tf @@ -252,6 +252,12 @@ variable "compile_boundary_from_source" { default = false } +variable "claude_binary_path" { + type = string + description = "The path to add to PATH for the Claude binary." + default = "$HOME/.local/bin" +} + resource "coder_env" "claude_code_md_path" { count = var.claude_md_path == "" ? 0 : 1 @@ -291,7 +297,7 @@ resource "coder_env" "disable_autoupdater" { resource "coder_env" "claude_binary_path" { agent_id = var.agent_id name = "PATH" - value = "$HOME/.local/bin:$PATH" + value = "${var.claude_binary_path}:$PATH" } locals {