-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Labels
closing-soonThis issue will automatically close in 4 days unless further comments are made.This issue will automatically close in 4 days unless further comments are made.
Description
Describe the bug
Updated to 3.245.0 last night and ever since I'm getting errors like these:
Invalid configuration value provided for \"token\". Expected Aws\\Token\\TokenInterface|Aws\\CacheInterface|array|bool|callable, but got string(912)
We create clients in 2 ways:
$client = new SomeSdkClient([
'version' => 'latest',
'region' => $_ENV['AWS_REGION'] ?? $_ENV['AWS_DEFAULT_REGION'],
]);
$client = new SomeSdkClient([
'version' => 'latest',
'region' => $_ENV['AWS_REGION'] ?? $_ENV['AWS_DEFAULT_REGION'],
'credientials' => [
'key' => $_ENV['AWS_ACCESS_KEY_ID'],
'secret' => $_ENV['AWS_SECRET_ACCESS_KEY'],
'token' => $_ENV['AWS_SESSION_TOKEN'],
],
]);
Since the new version, this sometimes errors. I still need to investigate when exactly.
Expected Behavior
No error
Current Behavior
Sometimes errors with above mentioned error
Reproduction Steps
Not really sure yet, will update once figured out
Possible Solution
No response
Additional Information/Context
Using Laravel
SDK version used
3.245.0
Environment details (Version of PHP (php -v
)? OS name and version, etc.)
8.1
Metadata
Metadata
Assignees
Labels
closing-soonThis issue will automatically close in 4 days unless further comments are made.This issue will automatically close in 4 days unless further comments are made.