fix: claude-code api_key terraform test (#444)

## Description

Fix claude-code module `test_claude_code_with_api_key` terraform test.
This commit is contained in:
Susana Ferreira 2025-10-02 00:21:54 +01:00 committed by GitHub
parent 60fec19d7d
commit 2de6a57a3f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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"
}
}