From 81a3c58aeb5c0dff4499fc951ee56b0838cc7ef5 Mon Sep 17 00:00:00 2001 From: Susana Cardoso Ferreira Date: Wed, 1 Oct 2025 15:10:12 +0000 Subject: [PATCH] fix: claude-code api_key terraform test --- registry/coder/modules/claude-code/main.tftest.hcl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/registry/coder/modules/claude-code/main.tftest.hcl b/registry/coder/modules/claude-code/main.tftest.hcl index 7931cca81..c48923cf3 100644 --- a/registry/coder/modules/claude-code/main.tftest.hcl +++ b/registry/coder/modules/claude-code/main.tftest.hcl @@ -42,7 +42,7 @@ run "test_claude_code_with_api_key" { } assert { - condition = coder_env.claude_api_key.value == "test-api-key-123" + condition = coder_env.claude_api_key[0].value == "test-api-key-123" error_message = "Claude API key value should match the input" } }