I have deployed the following however when I check in the AWS console the managed policy AmazonSESFullAccess is not attached. I have found examples that can do this on the function level but I am interested in doing it at the service level. Is this possible? Is this a bad idea?
A quick search of the code doesn’t show me a way to set managed policy ARNs at a service or function level.
You would have to use your own custom roles/add to the auto-generated roles in order to get this to work (the exception is AWSLambdaVPCAccessExecutionRole which is added to your function when VPC configuration is provided to your function).
This sounds like it would be useful functionality, so might be worth a feature request.