lambda-packager
dntsk/lambda-packager/aws
AWS Lambda packager Terraform module
Install
README
     AWS Lambda packager Terraform module Terraform module which creates and deploy AWS Lambda with required python modules. Supported Terraform versions * Terraform 0.12. Pin version to ~> v0.1 Usage with built in IAM role ``hcl module "example" { source = "dntsk/lambda-packager/aws" source_dir = "lambda" filename = "example.py" handler = "example.lambda_handler" name = "example" environment_variables = { VAR = "example_variable" } } ` Usage with custom IAM role `hcl module "example" { source = "dntsk/lambda-packager/aws" source_dir = "lam
Inputs (12)
| Name | Type | Description | Default |
|---|---|---|---|
| filename | string | Lambda's file name | required |
| name | string | Lambda name | required |
| source_dir | string | Lambda source directory | required |
| custom_iam_role | bool | Provide true if you want to have your own IAM role in Lambda function | false |
| iam_role_arn | string | IAM role ARN. Available if custom_iam_role set to true | "" |
| handler | string | Lambda handler | "labmda_handler" |
| environment_variables | map(string) | Environment variables | {} |
| tmp_dir | string | Temp directory to collect package | "/tmp/lambda_pack" |
| vpc_subnet_ids | list(string) | List of subnets ids for VPC | [] |
| vpc_security_group_ids | list(string) | List of security groups ids for VPC | [] |
| timeout | string | The amount of time your Lambda Function has to run in seconds. | 300 |
| runtime | string | Runtime for Lambda function | "python3.7" |
Outputs (2)
arnnameResources (6)
Details
Similar packages
Azure landing zones Terraform module
Terraform supermodule for the Terraform platform engineering for Azure
Terraform module to deploy landing zone subscriptions (and much more) in Azure
Terraform Module to define a consistent naming convention by (namespace, stage,