Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: apply $AWS_LAMBDA_EXEC_WRAPPER if set #524

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Commits on Oct 16, 2023

  1. feat: apply $AWS_LAMBDA_EXEC_WRAPPER if set

    Managed AWS Lambda runtimes wrap the function's runtime entry using a script
    specified by the `AWS_LAMBDA_EXEC_WRAPPER` environment variable, however this is
    not performed by provided runtimes (`provided`, `provided.al2`, `go1.x`).
    
    This adds an `init` function that re-startes the current process after wrapping
    it in the wrapper to emulate the behavior of other lambda runtimes, although
    this will cause initialization of some other go packages to be run twice, which
    will have an impact on cold start times.
    
    See also: https://docs.aws.amazon.com/lambda/latest/dg/runtimes-modify.html#runtime-wrapper
    
    Fixes aws#523
    RomainMuller committed Oct 16, 2023
    Configuration menu
    Copy the full SHA
    1766dc2 View commit details
    Browse the repository at this point in the history
  2. lint fix

    RomainMuller committed Oct 16, 2023
    Configuration menu
    Copy the full SHA
    460eea2 View commit details
    Browse the repository at this point in the history
  3. add legacy build tagging

    RomainMuller committed Oct 16, 2023
    Configuration menu
    Copy the full SHA
    31a466b View commit details
    Browse the repository at this point in the history

Commits on Oct 31, 2023

  1. Configuration menu
    Copy the full SHA
    15f432b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0aeedb0 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5953b5c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d4c6b0d View commit details
    Browse the repository at this point in the history