aws-cdk icon indicating copy to clipboard operation
aws-cdk copied to clipboard

fix(custom-resources): handle Inactive lambda functions

Open comcalvi opened this issue 2 years ago • 2 comments

all lambda functions can become inactive eventually. This will result in invocations failing. This PR adds logic to retry the invocation up to a maximum of ten minutes and some change. This number was chosen because a lambda only runs for 15 minutes, and 10 seemed like a good number.

Closes #20123.


All Submissions:

Adding new Unconventional Dependencies:

  • [ ] This PR adds new unconventional dependencies following the process described here

New Features

  • [ ] Have you added the new feature to an integration test?
    • [ ] Did you use yarn integ to deploy the infrastructure and generate the snapshot (i.e. yarn integ without --dry-run)?

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

comcalvi avatar Jun 29 '22 20:06 comcalvi

gitpod-io[bot] avatar Jun 29 '22 20:06 gitpod-io[bot]

@Mergifyio update

Naumel avatar Sep 12 '22 13:09 Naumel

update

✅ Branch has been successfully updated

mergify[bot] avatar Sep 12 '22 13:09 mergify[bot]

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildv2Project1C6BFA3F-wQm2hXv2jqQv
  • Commit ID: e8f3eac8e7cc89f5c9008165a0307d9268fca72c
  • Result: FAILED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

aws-cdk-automation avatar Sep 12 '22 13:09 aws-cdk-automation

Closing this as the work has been continued in another PR.

TheRealAmazonKendra avatar Nov 02 '22 16:11 TheRealAmazonKendra

@TheRealAmazonKendra which one?

gshpychka avatar Nov 02 '22 18:11 gshpychka