Last active
May 8, 2022 22:22
-
-
Save alsmola/2bf6e16a33a86cc54df32cd4bb577d51 to your computer and use it in GitHub Desktop.
Permissions for IAM deploy role
This file contains 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": [ | |
{ | |
"Effect": "Allow", | |
"Action": [ | |
"signer:GetSigningProfile", | |
"signer:PutSigningProfile" | |
] | |
"Resource": "arn:aws:signer:us-east-1:[account-number]:/signing-profiles/[signing-profile-name]" | |
}, | |
{ | |
"Effect": "Allow", | |
"Action": [ | |
"lambda:GetCodeSigningConfig", | |
"lambda:PutFunctionCodeSigningConfig", | |
"lambda:UpdateCodeSigningConfig" | |
], | |
"Resource": "arn:aws:lambda:us-east-1:[account-number]:code-signing-config:csc-[csc-id]" | |
}, | |
{ | |
"Effect": "Allow", | |
"Action": [ | |
"lambda:AddPermission", | |
"lambda:CreateFunction", | |
"lambda:GetFunction", | |
"lambda:GetFunctionCodeSigningConfig", | |
"lambda:ListTags", | |
"lambda:ListVersionsByFunction", | |
"lambda:PublishVersion", | |
"lambda:PutFunctionCodeSigningConfig", | |
"lambda:UpdateFunctionCode" | |
], | |
"Resource": "arn:aws:lambda:us-east-1:[account-number]:function:[function-name]" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment