mkbabb / poetry_to_aws_lambda_layer

Poetry to AWS Lambda layer.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

poetry_to_aws_lambda_layer

Terraform module to create a Lambda Python Layer from a Poetry project. Currently supports manylinux1_x86_64 wheels.

Usage

module "make_layer" {
    source         = "git@github.com:mkbabb/ poetry_to_aws_lambda_layer.git"

    name           = "tmp_layer"   
    dist_path      = "./dist"
    extra_paths    = "./src/.."
    python_version = "3.10"
}

Input Variables

  • layer_name - Name of the layer
  • dist_path - Path to the dist (build) folder of the project
  • extra_paths - List of extra paths to include in the layer
  • python_version - Python version to use for the layer

About

Poetry to AWS Lambda layer.


Languages

Language:HCL 58.8%Language:Shell 41.2%