awslabs/amazon-kinesis-client

LeaseManager requires dynamoDb:CreateTable IAM permissions even if the table already exists.

ajbrown opened this issue · 2 comments

The lease manager determines if the DynamoDb table already exists by attempting to create it, and ignoring a ResourceInUseException . This is non-optimal in an environment where the creation of resources is restricted, and the table has already been initialized.

It would be more intuitive to use a DescribeTableRequest to determine if the table exists, since it's considered a read-only operation.

A variant of this is now committed, and beginning the release process for it.

The change is committed, and will be released soon on Maven.