-
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
fix(efs): cannot use encryption key imported from another account #11524
Conversation
the `keyId` property supports using the ARN or the key ID. this change uses the ARN as it's more robust and allows usage of a key which is cross-account. It currently fails as the ID is looked up within the same account and not found. Closes #7641
Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
The change made in #11524 which switched from using the `keyId` to `keyArn` is a BREAKING change as an update requires replacement: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-efs-filesystem.html#cfn-efs-filesystem-kmskeyid The `efs` module is experimental and this was a capability that needed to be fixed ahead of moving to developer preview. It was missed that an update to the keyId replaces the filesystem. Amending the CHANGELOG to indicate that the filesystem will be replaced. ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
the
keyId
property supports using the ARN or the key ID.this change uses the ARN as it's more robust and allows usage of
a key which is cross-account.
It currently fails as the ID is looked up within the same account
and not found.
Closes #7641
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license