-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Description
Description
Table should have a grant*
method that grants dynamodb:DescribeTable
.
Use Case
I recently encountered a case where I need a lambda to inspect the key schema for the table it is putting items to, but it had AccessDenied when attempting to do so, with the stated error that it was not authorized to perform dynamodb:DescribeTable
.
Proposed Solution
I'm thinking it is reasonable to add dynamodb:DescribeTable
to the grantReadWriteData()
method and I'm happy to work up a pull request to do so. Alternately, I can add a grantDescribeTable()
or something along those lines, if that is your preference. I would just start with a pull request but I'm not sure what direction you would prefer me to go, especially since this change would add an action to existing resources - not sure if that counts as breaking or not.
Other information
No response
Acknowledge
- I may be able to implement this feature request
- This feature might incur a breaking change