Skip to content

Commit 7cefd58

Browse files
chore: resolve index issue with claude-code tf test
1 parent 3920709 commit 7cefd58

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)