-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
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
DynamoDB VPC Endpoint Policy in the complete example denies all DynamoDB requests #680
Comments
the error is a copy+pasta mistake because the endpoint policy used by ecr/ecr-dkr is pointing at the dynamodb VPCe
easily fixed - should always know/validate what you are deploying when copying from the internet 😉 |
This issue has been resolved in version 3.11.3 🎉 |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Description
The DDB VPCE Policy as demonstrated in the example seems to be broken as far as I can tell.
Versions
Reproduction
Expected behavior
No explicit access denied errors.
Actual behavior
I created a new VPC using the example and attempted to work with DynamoDB tables from an ECS task (with a task role containing DynamoDB Full Access permissions) and was given
explicit deny
errors. Changing thesourceVpce
condition to the actual VPCE ID (the initial value as created by this module was a straight integer with novpce-
prefix and the wrong length) resulted in implicit denials and it wasn't until I swapped the VPCE policy to FullAccess did my calls to DynamoDB actually work.The text was updated successfully, but these errors were encountered: