Skip to content

scottmlikens/lambda

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Module for AWS Lambda Python Function Deployment for Hopin

Requirements

- `python3.6` or higher installed with `pip` installed locally

Usage

Preparation

  1. Create a directory for your lambda function
  2. Put your Lambda handler in lambda/lambda.py
  3. Put requiements.txt in the directory for your lambda function
  4. Create variables.tf with all the required variables set. See variables.tf in this module to determine which need to be set.
  5. Create lambda.tf with the following:
module "lambdapython" {
  source = "../../modules/lambda"
  aws_region = var.aws_region
  lambda_name = var.lambda_name
  allow_ecs = var.allow_ecs
  allow_ecr = var.allow_ecr
  memory = var.memory
  runtime = var.runtime
  handler = var.handler
}

About

ancient old lambda module

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors