From 2de6a57a3f06381e490612073a77621f98abee04 Mon Sep 17 00:00:00 2001 From: Susana Ferreira Date: Thu, 2 Oct 2025 00:21:54 +0100 Subject: [PATCH] fix: claude-code api_key terraform test (#444) ## Description Fix claude-code module `test_claude_code_with_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 7931cca8..c48923cf 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" } }