-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
(aws-redshift): KmsKeyId uses KeyArn instead of KeyId #17032
Comments
Thanks for the bug report. I suspect this is because the Redshift Cluster construct was largely built off of the RDS Cluster; RDS' Does this prevent successful deployment? Sometimes the documented standard is the ID, but the ARN is accepted as well. Either way, this is a simple enough fix. Contributions welcome! Ideally, we'd update the integ test as well to deploy with a Key, to verify the behavior. |
I wasn't able to confirm if this prevents successful deployment but it can impact the ability to migrate from vanilla CFN to CDK because the change from KeyId to KeyArn triggers an encryption change in the cluster. |
As a workaround, I was able to comment out the
|
Field was incorrectly using key arn instead of id. Fixes #17032 ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
|
Field was incorrectly using key arn instead of id. Fixes aws#17032 ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
What is the problem?
When a Cluster is created the
KmsKeyId
property is built using the KeyArn instead of the KeyId.Reproduction Steps
What did you expect to happen?
or
What actually happened?
CDK CLI Version
1.126.0
Framework Version
No response
Node.js Version
12.0
OS
Amazon Linux 2012
Language
Typescript
Language Version
No response
Other information
No response
The text was updated successfully, but these errors were encountered: