serverless/lib/plugins/aws/deploy/lib/iam-policy-lambda-execution-template.json
David Tanner 68ef4ceab7 Move CF stack configuration to one place.
The stack is now set up in one place.
The S3 bucket isn't created on create if a bucket is already specified.
Working on configurability for the developer.
There is still the possibility of failing to deploy the stack
if the iamRoleArn is set, and a deploymentBucket is specified
2016-09-28 08:27:09 -06:00

28 lines
540 B
JSON

{
"IamPolicyLambdaExecution": {
"Type": "AWS::IAM::Policy",
"Properties": {
"PolicyName": "",
"PolicyDocument": {
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"logs:CreateLogGroup",
"logs:CreateLogStream",
"logs:PutLogEvents"
],
"Resource": ""
}
]
},
"Roles": [
{
"Ref": "IamRoleLambdaExecution"
}
]
}
}
}