Custom lambda layer

question

#1

Quick question about Custom Layers: where does the function below go (should it reside in rack folder app/functions or main project folder app/functions while in Mega Mode) when referencing the custom layer on AWS? Can’t get either locations to work for the function when referencing a custom Lambda layer ARN.

Thanks! Kevin

Jets.application.configure do
  config.lambda.layers = [
    "arn:aws:lambda:us-west-2:112233445566:layer:my-layer:2",
    "arn:aws:lambda:us-west-2:112233445566:layer:another-layer:8",
  ]
end

#2

config/application.rb Also updated docs: https://rubyonjets.com/docs/extras/custom-lambda-layers/


#3

Thanks, Tung, it looks like there is now a new aws-sdk-1.28.0 gem out today that is causing the error:

“You have already activated aws-sdk-kms 1.28.0” error even when I hard code the Gemfile to 1.27.0. May be something to look into.

Thanks again,
Kevin