grant
-ing dynamodb table constructs does not allow access to indices
#1540
Labels
grant
-ing dynamodb table constructs does not allow access to indices
#1540
Saw in my lambda output:
cdk was set up as so:
Googling found me https://stackoverflow.com/questions/51537795/accessdenied-on-dynamodb-gsi-index
Applied a kind of hacky workaround to replace the
.grantReadWrite
:This resolved the error.
Looking at the source, it looks like the dynamodb construct needs to call
addResource
once again for the index if one is defined.The text was updated successfully, but these errors were encountered: