LeaseManager requires dynamoDb:CreateTable IAM permissions even if the table already exists.
ajbrown opened this issue · 2 comments
ajbrown commented
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.
pfifer commented
The change is committed, and will be released soon on Maven.