1 réponse
- Le plus récent
- Le plus de votes
- La plupart des commentaires
0
While I still haven't found a way to create policies in the template, I did manage to find a way to deploy in one pass.
You can add policy rules to the role definition
role:
Type: AWS::IAM::Role
Properties:
AssumeRolePolicyDocument:
...
ManagedPolicyArns:
- arn:aws:iam::aws:policy/service-role/AWSLambdaBasicExecutionRole
- arn:aws:iam::aws:policy/service-role/AWSLambdaRole
- arn:aws:iam::aws:policy/service-role/AWSLambdaVPCAccessExecutionRole
I found this in an example setting up lambda access to rds-mysql
répondu il y a 3 ans
Contenus pertinents
- demandé il y a un an
- demandé il y a 7 mois
- demandé il y a un an
- AWS OFFICIELA mis à jour il y a un an
- AWS OFFICIELA mis à jour il y a un an
- AWS OFFICIELA mis à jour il y a 3 mois
- AWS OFFICIELA mis à jour il y a 3 ans