This Repo shows how to include ruby native gems
It is generally a bad practice using api directly in the aws lambda. As it will consume too much connections very quickly.
build files
./build
deploy to aws
sls deploy
Then see the docs and configure your lambda to use the layer you just published.
gem 'json'
gem 'rack'
gem 'rack-contrib'
gem 'rake'
gem 'pg'
gem 'sequel'
gem 'activerecord'
gem 'dotenv'
gem 'httparty'
gem 'sidekiq'
gem 'redis'
# aws
gem 'aws-sdk-firehose'
gem 'aws-sdk-lambda'
gem 'aws-sdk-s3'