Compare commits

..

12 Commits

Author SHA1 Message Date
Hugo Dutka 91bcb61d53 rename app id 2025-08-02 20:20:05 +02:00
Hugo Dutka 36578b3546 rename app 2025-08-02 20:13:10 +02:00
Hugo Dutka bb35c87a00 rename app 2025-08-02 20:11:58 +02:00
Hugo Dutka 7533c87ae3 rename app 2025-08-02 19:35:56 +02:00
Hugo Dutka 21b1a188d3 tmp: remove workaround 2025-08-02 19:33:56 +02:00
Hugo Dutka 482320a857 Update main.tf 2025-08-02 14:36:19 +02:00
Hugo Dutka 8982d15c0d Update main.tf 2025-08-02 14:32:38 +02:00
Hugo Dutka 20170e1a24 Update main.tf 2025-08-02 10:59:43 +02:00
Hugo Dutka c54668f27a Update main.tf 2025-08-02 10:57:25 +02:00
Hugo Dutka 32c5f40d8a Update main.tf 2025-08-02 10:31:44 +02:00
Hugo Dutka 9b2171c007 Update main.tf 2025-08-02 10:28:20 +02:00
Hugo Dutka c9cccc783f Update main.tf 2025-08-02 10:19:03 +02:00
3 changed files with 7 additions and 14 deletions
+3 -3
View File
@@ -13,7 +13,7 @@ Run the [Claude Code](https://docs.anthropic.com/en/docs/agents-and-tools/claude
```tf
module "claude-code" {
source = "registry.coder.com/coder/claude-code/coder"
version = "2.0.5"
version = "2.0.4"
agent_id = coder_agent.example.id
folder = "/home/coder"
install_claude_code = true
@@ -84,7 +84,7 @@ resource "coder_agent" "main" {
module "claude-code" {
count = data.coder_workspace.me.start_count
source = "registry.coder.com/coder/claude-code/coder"
version = "2.0.5"
version = "2.0.4"
agent_id = coder_agent.example.id
folder = "/home/coder"
install_claude_code = true
@@ -102,7 +102,7 @@ Run Claude Code as a standalone app in your workspace. This will install Claude
```tf
module "claude-code" {
source = "registry.coder.com/coder/claude-code/coder"
version = "2.0.5"
version = "2.0.4"
agent_id = coder_agent.example.id
folder = "/home/coder"
install_claude_code = true
+2 -9
View File
@@ -9,6 +9,7 @@ terraform {
}
}
variable "agent_id" {
type = string
description = "The ID of a Coder agent."
@@ -250,7 +251,7 @@ resource "coder_script" "claude_code" {
resource "coder_app" "claude_code_web" {
# use a short slug to mitigate https://github.com/coder/coder/issues/15178
slug = local.claude_code_app_slug
display_name = "Claude Code Web"
display_name = "Claude Code Webxz yoxy"
agent_id = var.agent_id
url = "http://localhost:3284/"
icon = var.icon
@@ -289,11 +290,3 @@ resource "coder_ai_task" "claude_code" {
id = coder_app.claude_code_web.id
}
}
# As of https://github.com/coder/coder/commit/6ba4b5bbc95e2e528d7f5b1e31fffa200ae1a6db,
# there's a bug in Coder's Terraform statefile parsing which prevents it from seeing coder_apps
# in certain scenarios. This is a workaround to bypass this bug until we have a proper fix.
# For more details see https://github.com/coder/coder/issues/18776
resource "terraform_data" "claude_code_app_id" {
input = coder_app.claude_code_web.id
}
+2 -2
View File
@@ -26,7 +26,7 @@ variable "order" {
variable "group" {
type = string
description = "The name of a group that this app belongs to."
description = "The name of a group that this app belongs to!"
default = null
}
@@ -155,7 +155,7 @@ module "agentapi" {
set -o pipefail
echo -n '${base64encode(local.install_script)}' | base64 -d > /tmp/install.sh
chmod +x /tmp/install.sh
chmod +x /tmp/install.sh
ARG_PROVIDER='${var.goose_provider}' \
ARG_MODEL='${var.goose_model}' \