From 2d742d80c2afac6b91046fadfa52ae1c79e1e98d Mon Sep 17 00:00:00 2001 From: David Karlsson <35727626+dvdksn@users.noreply.github.com> Date: Mon, 19 Aug 2024 16:26:19 +0200 Subject: [PATCH] Revert "release: increase timeout for creating lambda from 3s to 10s" This reverts commit 98987a64c380495f3354af12875d10d34a9d5f14. The timeout option doesn't have any effect, since the error happens in a later function call to PublishVersion. --- _releaser/aws.go | 1 - 1 file changed, 1 deletion(-) diff --git a/_releaser/aws.go b/_releaser/aws.go index 2548546192..1c04f8f710 100644 --- a/_releaser/aws.go +++ b/_releaser/aws.go @@ -129,7 +129,6 @@ func (s *AwsCloudfrontUpdateCmd) Run() error { } _, err = svc.CreateFunction(&lambda.CreateFunctionInput{ FunctionName: aws.String(s.Function), - Timeout: aws.Int64(10), }) if aerr, ok := err.(awserr.Error); ok && aerr.Code() != lambda.ErrCodeResourceConflictException { return err