Skip to content

Commit

Permalink
Increased lambda event mapping creation timeout
Browse files Browse the repository at this point in the history
Increased the retry timeout from 1 to 5 minutes due to the time for IAM permission propagation
  • Loading branch information
kellydavid authored and david-kelly committed Jul 14, 2016
1 parent 5fc1b68 commit 6e0654d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ func resourceAwsLambdaEventSourceMappingCreate(d *schema.ResourceData, meta inte
//
// The role may exist, but the permissions may not have propagated, so we
// retry
err := resource.Retry(1*time.Minute, func() *resource.RetryError {
err := resource.Retry(5*time.Minute, func() *resource.RetryError {
eventSourceMappingConfiguration, err := conn.CreateEventSourceMapping(params)
if err != nil {
if awserr, ok := err.(awserr.Error); ok {
Expand Down

0 comments on commit 6e0654d

Please sign in to comment.