-
Notifications
You must be signed in to change notification settings - Fork 4k
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 table: Customer Managed encryption throws KMS key access denied #18616
Comments
You need to set the
Or use |
Whether creating a Table with a custom KMS key succeeds depends on the permissions on the key. The default permissions are correct, but only if the appropriate feature flag is set. Without changing code yet, add the caveat on proper configuration to the documentation. Fixes #18616 ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
|
@rix0rrr shouldn't we handle this in the CDK automatically for you? |
Whether creating a Table with a custom KMS key succeeds depends on the permissions on the key. The default permissions are correct, but only if the appropriate feature flag is set. Without changing code yet, add the caveat on proper configuration to the documentation. Fixes aws#18616 ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
This issue has not received any attention in 1 year. If you want to keep this issue open, please leave a comment below and auto-close will be canceled. |
What is the problem?
Whenever I create a new Table resource in my stack it throws a KMS access denied/Not found exception upon deployment of the CloudFormation stack. The table that I am creating has the following properties:
Whenever this resource is on the step of being created it throws following error:
The only change in my previously successful deploying stack is addition of a new table, that's it!
Reproduction Steps
Create a table with CustomerManaged encryption.
What did you expect to happen?
A new table being created without any issues. Or at-least a more descriptive error message :)
What actually happened?
KMS access denied or not found, failing the table creation.
CDK CLI Version
1.109.0 (build c647e38)
Framework Version
No response
Node.js Version
14.x
OS
macOS BigSur 11.6.2
Language
Typescript
Language Version
4.3.2
Other information
No response
The text was updated successfully, but these errors were encountered: