-
Notifications
You must be signed in to change notification settings - Fork 4.1k
grant
-ing dynamodb table constructs does not allow access to indices
#1540
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
Labels
Comments
rix0rrr
added a commit
that referenced
this issue
Jan 17, 2019
If a table has an index, the `grant()` methods will give permissions to the index as well. Updates the security diff engine to support `AWS::NoValue`. Fixes #1540.
4 tasks
rix0rrr
added a commit
that referenced
this issue
Jan 17, 2019
If a table has an index, the `grant()` methods will give permissions to the index as well. Updates the security diff engine to support `AWS::NoValue`. Fixes #1540.
sam-goodwin
pushed a commit
that referenced
this issue
Jan 28, 2019
If a table has an index, the `grant()` methods will give permissions to the index as well. Updates the security diff engine to support `AWS::NoValue`. Fixes #1540.
When I use |
1 task
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: