From f3bfa9cc8daf0232678951d6bb02d8ca542bb107 Mon Sep 17 00:00:00 2001 From: 35C4n0r Date: Wed, 3 Dec 2025 16:49:30 +0530 Subject: [PATCH] wip --- registry/coder/modules/claude-code/main.tf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/registry/coder/modules/claude-code/main.tf b/registry/coder/modules/claude-code/main.tf index f88857da..aa78875d 100644 --- a/registry/coder/modules/claude-code/main.tf +++ b/registry/coder/modules/claude-code/main.tf @@ -340,7 +340,7 @@ locals { resource "coder_script" "install_agent" { - count = var.report_tasks ? 1 : 0 + count = !var.report_tasks ? 1 : 0 agent_id = var.agent_id display_name = "Install agent" @@ -368,7 +368,7 @@ resource "coder_script" "install_agent" { resource "coder_app" "agent_cli" { - count = (var.report_tasks && var.cli_app) ? 1 : 0 + count = (!var.report_tasks && var.cli_app) ? 1 : 0 agent_id = var.agent_id