-
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
EFS : kmsKey issue when using CMK from another account #7641
Labels
@aws-cdk/aws-efs
Related to Amazon Elastic File System
bug
This issue is a bug.
effort/small
Small work item – less than a day of effort
p2
Comments
Cloudrage
added
bug
This issue is a bug.
needs-triage
This issue or PR still needs to be triaged.
labels
Apr 28, 2020
Is this even possible? Is this not an upstream service problem? |
shivlaks
added a commit
that referenced
this issue
Nov 17, 2020
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
mergify bot
pushed a commit
that referenced
this issue
Nov 17, 2020
…1524) 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*
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
@aws-cdk/aws-efs
Related to Amazon Elastic File System
bug
This issue is a bug.
effort/small
Small work item – less than a day of effort
p2
Bug
Can't create an EFS specifying kmsKey with a CMK created on another account.
When creating & specifying the CMK directly on the account where the EFS is created, it's working.
Reproduction Steps
Here the code used to create the EFS :
Error Log
Here the error :
| CREATE_FAILED | AWS::EFS::FileSystem | Efs (EfsHost2659FEA6) The request was rejected because the specified key could not be found. [error=NotFoundException]
Environment
Other
The code is the same when created with a CMK from the other account or not.
But when the CMK is const fromKeyArn; it won't work.
This is 🐛 Bug Report
The text was updated successfully, but these errors were encountered: