Skip to content

Commit b42658c

Browse files
refactor: move configuration to config.yaml
1 parent ced56a3 commit b42658c

File tree

2 files changed

+14
-15
lines changed

2 files changed

+14
-15
lines changed

dogfood/coder/boundary-config.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,3 +217,6 @@ allowlist:
217217
- domain=www.json-schema.org
218218
- domain=json.schemastore.org
219219
- domain=www.schemastore.org
220+
log_dir: /tmp/boundary_logs
221+
log_level: warn
222+
proxy_port: 8087

dogfood/coder/main.tf

Lines changed: 11 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -858,21 +858,17 @@ resource "coder_script" "boundary_config_setup" {
858858
}
859859

860860
module "claude-code" {
861-
count = data.coder_task.me.enabled ? data.coder_workspace.me.start_count : 0
862-
source = "dev.registry.coder.com/coder/claude-code/coder"
863-
version = "4.0.0"
864-
enable_boundary = true
865-
boundary_version = "cb50342a4065f7d44e497f26cb2c769922ed60a9" # feat: initial implementation of config file support #79
866-
boundary_log_dir = "/tmp/boundary_logs"
867-
boundary_log_level = "WARN"
868-
boundary_additional_allowed_urls = []
869-
boundary_proxy_port = "8087"
870-
agent_id = coder_agent.dev.id
871-
workdir = local.repo_dir
872-
claude_code_version = "latest"
873-
order = 999
874-
claude_api_key = data.coder_parameter.use_ai_bridge.value ? data.coder_workspace_owner.me.session_token : var.anthropic_api_key
875-
agentapi_version = "latest"
861+
count = data.coder_task.me.enabled ? data.coder_workspace.me.start_count : 0
862+
source = "dev.registry.coder.com/coder/claude-code/coder"
863+
version = "4.1.0"
864+
enable_boundary = true
865+
boundary_version = "v0.2.0"
866+
agent_id = coder_agent.dev.id
867+
workdir = local.repo_dir
868+
claude_code_version = "latest"
869+
order = 999
870+
claude_api_key = data.coder_parameter.use_ai_bridge.value ? data.coder_workspace_owner.me.session_token : var.anthropic_api_key
871+
agentapi_version = "latest"
876872

877873
system_prompt = local.claude_system_prompt
878874
ai_prompt = data.coder_task.me.prompt

0 commit comments

Comments
 (0)