Define necessary AWS permissions #17244
Labels
enhancement
Requests to existing resources that expand the functionality or scope.
provider
Pertains to the provider itself, rather than any interaction with AWS.
Community Note
Description
There are lots of great aws resource in the provider. But they do not always directly match with services and similar in AWS.
(Like resources:
aws_security_group_rule
that actually is just a part of the security group service inEC2
.)And we all know "it would be good to" have and apply more precise permissions and our policies... but it is quite alot of job to set that up.
So I think it would be great if each resource had a list or similar with exactly which permissions that are required to create, modify or just use the resource. To make life much easier for us that do not want to only use "allow all" or admin permissions.
In the start it could be enough with separate lists for each resource. It would also be quite possible to automatically test if they are enough, just apply them to a role and try create! (Maybe more relevant for modules using several resource but still)
Later when all lists are created manually, they could maybe be automatically generated by te resources, and/or included as attributes, making it even easier to use.
New or Affected Resource(s)
Basically every resource since all would need it.. but in some ways noone since it could be seen as "just" documentation. (At least in the beginning.
The text was updated successfully, but these errors were encountered: