Skip to content
This repository has been archived by the owner on Sep 17, 2024. It is now read-only.

Commit

Permalink
increasing lambda timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
em0ney committed May 7, 2016
1 parent bf8671d commit fe3d94e
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions cloud_formation/template.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
"Handler" : "autotag.handler",
"Role" : { "Fn::GetAtt" : [ "AutoTagExecutionRole", "Arn" ] },
"Runtime" : "nodejs4.3",
"Timeout" : 3
"Timeout" : 8
}
},

Expand All @@ -70,9 +70,7 @@
{
"Effect": "Allow",
"Principal": {
"Service": [
"lambda.amazonaws.com"
]
"AWS" : { "Fn::GetAtt" : [ "AutoTagExecutionRole", "Arn" ] }
},
"Action": [
"sts:AssumeRole"
Expand Down Expand Up @@ -146,7 +144,7 @@
"cloudformation:DescribeStackResource"
],
"Resource": [
{ "Ref" : "AWS::StackId" }
{ "Fn::Join": [ "", [ "arn:aws:cloudformation:", { "Ref" : "AWS::Region" }, ":", { "Ref" : "AWS::AccountId" }, ":stack/autotag/*" ] ] }
]
},
{
Expand Down

0 comments on commit fe3d94e

Please sign in to comment.