-
Notifications
You must be signed in to change notification settings - Fork 9.6k
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
provider/aws: Add KMS key tag support #12243
Conversation
Added acceptance test and rebased. |
Hi @ewbankkit What do you suggest we do about the permissions issue? Paul |
@stack72 I would say just note in the CHANGELOG. The documentation doesn't currently state which IAM permissions are required for which resources and I'm sure this situation (additional attributes imply additional permissions) happens relatively frequently. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Other than the error handling, this overall looks 👌 and I'm happy to merge it once that is addressed.
KeyId: metadata.KeyId, | ||
}) | ||
if err != nil { | ||
return nil |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As mentioned in #12137 (comment) we should not be ignoring the error here. Instead to avoid confusions you can do something similar to what I did in #12759 - i.e. make the error message descriptive enough.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agreed. I'll try and fix that today.
@radeksimko Made change as suggested (and rebased). I think the initial |
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. |
Add support for AWS KMS key tagging.
Acceptance test:
Additional KMS API actions:
ListResourceTags
TagResource
UntagResource