Convenience module for AWS Lambda
module "get-user-lambda" {
source = "assemble-inc/lambda/simple"
source_path = "./bin/get-user-bin"
handler = "get-user"
environment_variables = {
"AWS_REGION": "US_WEST_2"
}
}
- source_path: Source Path
- handler: Lambda Handler
- runtime: Runtime (Default: go1.x)
- timeout: Timeout (Default: 10)
- memory_size: Memory size (Default: 1024)
- environment_variables: Environment variables map
- arn: Lambda function ARN
- function_name: Lambda function name
- invoke_arn: Lambda invoke ARN
- role_id: Lambda execution role ID