Skip to content

higanworks/lambda-layer-psycopg2-binary

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

lambda-layer-psycopg2-binary

install psycopg2-binary

import psycopg2
...

requirements

  • docker (or compatible runtime)
  • AWS-CLI
  • GNU Make

Deploy

$ AWS_PROFILE=`YOUR_PROFILE` PYTHON_VERSION=3.xx ARCHITECTURE=arm64  make -e push

#=> "arn:aws:lambda:${REGION}:${YOUR_AWS_ACCOUNT_ID}:layer:psycopg2-binary-3-11-arm64:1"

option (envs)

export AWS_PROFILE=...
export AWS_REGION=...
export ARCHITECTURE=[amd64|arm64]
export PYTHON_VERSION=3.xx

check Makefile.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published