terraform-aws-modules / terraform-aws-lambda

Terraform module, which takes care of a lot of AWS Lambda/serverless tasks (build dependencies, packages, updates, deployments) in countless combinations πŸ‡ΊπŸ‡¦
https://registry.terraform.io/modules/terraform-aws-modules/lambda/aws
Apache License 2.0
909 stars 682 forks source link

Expose create / update timeout config #484

Closed omerlh closed 1 year ago

omerlh commented 1 year ago

Is your request related to a new offering from AWS?

Is this functionality available in the [AWS provider for Terraform]

I can see it in the latest version

Is your request related to a problem? Please describe.

Yes, we are deploying lambda functions using containers and deployments consistently fails on the first deployment with:

Error: publishing Lambda Function (create-integration-line-lambda_main) version: waiting for completion: exceeded max wait time for FunctionUpdated waiter

Retrying the build solves the problem.

Describe the solution you'd like.

Looking at aws_lambda_function I can see it exposes timeout configs for update / create which I want to increase.

Describe alternatives you've considered.

I have no idea...

antonbabenko commented 1 year ago

This issue has been resolved in version 5.3.0 :tada:

github-actions[bot] commented 1 year ago

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.