Skip to content

You can deploy this into your AWS account and reference the info in the ddb tables it creates to see for yourself the amount of lag time observed in the cron invocation of lambda functions.

Notifications You must be signed in to change notification settings

trek10inc/terraform-project-to-test-lambda-cron-invocation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

clock image


project to demonstrate lag time for AWS Lambda cron invocations:
{
  "time-actual": {
    "S": "2022-01-11T17:10:00Z"
  },
  "time-system": {
    "S": "2022-01-11T17:10:10Z"
  }
}
^ here we can see that it took 10 seconds for Lambda to start
run `make bundle` before you do the `terraform apply`.

this project is affected by bug: hashicorp/terraform-provider-aws#12923

you can use this for workarounds to the bug: https://devops.stackexchange.com/questions/8409/how-to-forcibly-remove-the-resource-created-by-the-broken-module

(yes, you will maybe have to manually edit the terraform.tfstate and probably remove entries which represent the concurrency config)


inspired by https://www.trek10.com/blog/lambda-cron/

images sourced from https://www.freeimages.com/

About

You can deploy this into your AWS account and reference the info in the ddb tables it creates to see for yourself the amount of lag time observed in the cron invocation of lambda functions.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published