Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jetbridge/psycopg2-lambda-layer
psycopg2 Lambda Layer
https://github.com/jetbridge/psycopg2-lambda-layer
Last synced: 30 days ago
JSON representation
psycopg2 Lambda Layer
- Host: GitHub
- URL: https://github.com/jetbridge/psycopg2-lambda-layer
- Owner: jetbridge
- Created: 2018-12-13T14:17:14.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2024-01-22T18:24:35.000Z (11 months ago)
- Last Synced: 2024-11-02T07:33:07.314Z (about 1 month ago)
- Language: Shell
- Size: 21.5 KB
- Stars: 157
- Watchers: 5
- Forks: 37
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-layers - `jetbridge/psycopg2-lambda-layer` - py37](https://api.globadge.com/v1/badgen/aws/lambda/layer/latest-version/us-east-1/898466741470/psycopg2-py37) ![psycopg2-py38](https://api.globadge.com/v1/badgen/aws/lambda/layer/latest-version/us-east-1/898466741470/psycopg2-py38) | (Layers / Utilities)
README
# psycopg2-lambda-layer
AWS Lambda layer for psycopg2To use in your serverless.yml:
```
functions:
hello:
handler: handler.hello
layers:
# py 3.6:
- arn:aws:lambda:us-east-1:898466741470:layer:psycopg2-py36:3
- arn:aws:lambda:us-east-2:898466741470:layer:psycopg2-py36:1
- arn:aws:lambda:us-west-2:898466741470:layer:psycopg2-py36:1
- arn:aws:lambda:eu-central-1:898466741470:layer:psycopg2-py36:2
- arn:aws:lambda:sa-east-1:898466741470:layer:psycopg2-py36:1
# py 3.7:
- arn:aws:lambda:eu-central-1:898466741470:layer:psycopg2-py37:6
- arn:aws:lambda:ap-southeast-1:898466741470:layer:psycopg2-py37:1
- arn:aws:lambda:us-east-1:898466741470:layer:psycopg2-py37:3
- arn:aws:lambda:us-east-2:898466741470:layer:psycopg2-py37:1
- arn:aws:lambda:us-west-2:898466741470:layer:psycopg2-py37:7
- arn:aws:lambda:eu-west-1:898466741470:layer:psycopg2-py37:1
- arn:aws:lambda:eu-west-2:898466741470:layer:psycopg2-py37:1
- arn:aws:lambda:eu-west-3:898466741470:layer:psycopg2-py37:1
- arn:aws:lambda:sa-east-1:898466741470:layer:psycopg2-py37:1
- arn:aws:lambda:ap-southeast-1:898466741470:layer:psycopg2-py37:5
- arn:aws:lambda:ap-southeast-2:898466741470:layer:psycopg2-py37:1
- arn:aws:lambda:ca-central-1:898466741470:layer:psycopg2-py37:1
- arn:aws:lambda:ap-south-1:898466741470:layer:psycopg2-py37:1
# py 3.8:
- arn:aws:lambda:ca-central-1:898466741470:layer:psycopg2-py38:1
- arn:aws:lambda:us-east-1:898466741470:layer:psycopg2-py38:2
- arn:aws:lambda:us-east-2:898466741470:layer:psycopg2-py38:1
- arn:aws:lambda:us-west-1:898466741470:layer:psycopg2-py38:1
- arn:aws:lambda:us-west-2:898466741470:layer:psycopg2-py38:1
- arn:aws:lambda:eu-west-1:898466741470:layer:psycopg2-py38:1
- arn:aws:lambda:eu-west-2:898466741470:layer:psycopg2-py38:1
- arn:aws:lambda:eu-west-3:898466741470:layer:psycopg2-py38:1
- arn:aws:lambda:eu-central-1:898466741470:layer:psycopg2-py38:1
- arn:aws:lambda:eu-south-1:898466741470:layer:psycopg2-py38:1
- arn:aws:lambda:ap-northeast-1:898466741470:layer:psycopg2-py38:1
- arn:aws:lambda:ap-southeast-1:898466741470:layer:psycopg2-py38:1
- arn:aws:lambda:ap-southeast-2:898466741470:layer:psycopg2-py38:1
- arn:aws:lambda:sa-east-1:898466741470:layer:psycopg2-py38:1
# py 3.9:
- arn:aws:lambda:us-east-1:898466741470:layer:psycopg2-py39:1
- arn:aws:lambda:us-east-2:898466741470:layer:psycopg2-py39:1
- arn:aws:lambda:us-west-1:898466741470:layer:psycopg2-py39:1
- arn:aws:lambda:us-west-2:898466741470:layer:psycopg2-py39:1
- arn:aws:lambda:ca-central-1:898466741470:layer:psycopg2-py39:1
- arn:aws:lambda:eu-west-1:898466741470:layer:psycopg2-py39:1
- arn:aws:lambda:eu-west-2:898466741470:layer:psycopg2-py39:1
- arn:aws:lambda:eu-west-3:898466741470:layer:psycopg2-py39:1
- arn:aws:lambda:eu-central-1:898466741470:layer:psycopg2-py39:1
```## Regions
Please use the layer that matches your region, or you will get a permissions error.## No longer maintained
It turns out that providing public lambda layers is too unpleasant and buggy, so I recommend building your own layer and using it instead of publicly-provided layers.
Maybe AWS will make managing public layers less painful some day.