-
-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Version 2.0.0 doesn't work #14
Comments
Do you have any more details? Do you have correct region? Does the table exist in the region? |
As I said, the only change was switching versions and replacing the client. Region is correct, table is correct and exists. There's really nothing else to report; it was working, I upgraded, and now it doesn't. |
Well, AWS is a little magic when it comes to guessing your configuration, it's possible the official SDK got the region from somewhere else. Can you send a snippet of how you construct the object? |
final class DynamoDbCacheFactory
{
public function __invoke(ContainerInterface $container): DynamoDbCache
{
return new DynamoDbCache(
tableName: $container->get('aws.dynamodb.tables.cache'),
client: $container->get(DynamoDbClient::class),
prefix: $container->get('app.version'),
);
}
} |
And the |
I think I found the problem. |
I can't figure out why, but upgrading to version 2.0.0 causes all calls to error with:
Nothing about my configuration has changed, other than switching:
The text was updated successfully, but these errors were encountered: