Skip to content

Commit ff63df0

Browse files
authored
Merge pull request #20618 from dvdksn/publish-cloudfront-update
release: increase timeout for creating lambda from 3s to 10s
2 parents baa30f4 + 98987a6 commit ff63df0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

_releaser/aws.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@ func (s *AwsCloudfrontUpdateCmd) Run() error {
129129
}
130130
_, err = svc.CreateFunction(&lambda.CreateFunctionInput{
131131
FunctionName: aws.String(s.Function),
132+
Timeout: aws.Int64(10),
132133
})
133134
if aerr, ok := err.(awserr.Error); ok && aerr.Code() != lambda.ErrCodeResourceConflictException {
134135
return err

0 commit comments

Comments
 (0)