Created
May 4, 2021 13:14
-
-
Save thapakazi/7fc4dfd9c373ce4e2c2936a6c8db0e8a to your computer and use it in GitHub Desktop.
Necessary IAM policy to allow creation of lambda function
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Version": "2012-10-17", | |
"Statement": [ | |
{ | |
"Sid": "VisualEditor0", | |
"Effect": "Allow", | |
"Action": [ | |
"iam:CreatePolicy", | |
"iam:CreateRole", | |
"iam:AttachRolePolicy" | |
], | |
"Resource": [ | |
"arn:aws:iam::ACCOUNT_ID:policy/*", | |
"arn:aws:iam::ACCOUNT_ID:role/*" | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment