Skip to content

Commit 2de6a57

Browse files
authored
fix: claude-code api_key terraform test (#444)
## Description Fix claude-code module `test_claude_code_with_api_key` terraform test.
1 parent 60fec19 commit 2de6a57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

registry/coder/modules/claude-code/main.tftest.hcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ run "test_claude_code_with_api_key" {
4242
}
4343

4444
assert {
45-
condition = coder_env.claude_api_key.value == "test-api-key-123"
45+
condition = coder_env.claude_api_key[0].value == "test-api-key-123"
4646
error_message = "Claude API key value should match the input"
4747
}
4848
}

0 commit comments

Comments
 (0)