1 Antwort
- Neueste
- Die meisten Stimmen
- Die meisten Kommentare
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
beantwortet vor 3 Jahren
Relevanter Inhalt
- AWS OFFICIALAktualisiert vor 3 Jahren
- AWS OFFICIALAktualisiert vor 3 Monaten
- AWS OFFICIALAktualisiert vor 2 Jahren