-
Notifications
You must be signed in to change notification settings - Fork 50
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
Add permissions for acm #188
Conversation
In the aws-terminator, how do I determine whether to add acm permissions to AllowResourceRestrictedActionsWhichIncurNoFees or AllowRegionalUnrestrictedResourceActionsWhichIncurNoFees? I see both Sids currently have acm permissions. I have determined the following permissions are required for the aws_acm module: |
UnrestrictedResource actions are the ones where no resource restriction is applied/needed. Those Sids have a key like:
ResourceRestricted actions will have a specific resource they can be applied to like this:
Policy actions shouldn't be duplicated in multiple sections, that sounds like an oversight for that action. Looks like ImportCertificate is supposed to be resource restricted https://docs.aws.amazon.com/service-authorization/latest/reference/list_awscertificatemanager.html, thanks for catching it! Resource restrictions should be used if the action supports it. |
ok. I have removed the duplicate entry for |
@jillr , is there anything else I need to do? |
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.
This policy looks good, thanks @sebastien-rosset (apologies for the delay, I typically only work on this repo about once a week).
These IAM changes will be deployed to our CI account shortly.
These two PRs in
community.aws
add support for adding/removing tags to certificates, and requesting/renewing certificates.I know
acm
permissions need to be added, but I'm unclear where. I see the same acm permissions are repeated multiple times. For example theacm:ImportCertificate
permission is added under