Revert "release: increase timeout for creating lambda from 3s to 10s"

This reverts commit 98987a64c3.

The timeout option doesn't have any effect, since the error happens in a
later function call to PublishVersion.
This commit is contained in:
David Karlsson 2024-08-19 16:26:19 +02:00
parent 54ab3df392
commit 2d742d80c2
1 changed files with 0 additions and 1 deletions

View File

@ -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