| Name | Version |
|---|---|
| terraform | >= 1.0 |
| aws | >= 5.0 |
| Name | Version |
|---|---|
| archive | n/a |
| aws | >= 5.0 |
No modules.
| Name | Type |
|---|---|
| aws_cloudwatch_log_group.lambda | resource |
| aws_iam_role.lambda | resource |
| aws_iam_role_policy_attachment.lambda_basic_execution | resource |
| aws_iam_role_policy_attachment.lambda_vpc_access | resource |
| aws_lambda_event_source_mapping.this | resource |
| aws_lambda_function.lambda | resource |
| aws_lambda_function_url.function_url | resource |
| aws_lambda_permission.triggers | resource |
| archive_file.lambda | data source |
| aws_iam_policy_document.lambda_service_trust_policy | data source |
| aws_s3_object.lambda | data source |
| aws_ssm_parameter.env_vars_from_parameter_store | data source |
| Name | Description | Type | Default | Required |
|---|---|---|---|---|
| allowed_triggers | Map of allowed triggers to create Lambda permissions | map(any) |
{} |
no |
| description | Lambda function description | any |
null |
no |
| env_vars_from_parameter_store | Lambda environment variables from SSM parameter store | map(any) |
{} |
no |
| environment_variables | Environment Variables for Lambda Functions | map(any) |
{} |
no |
| event_source_mapping | Map of event source mapping | any |
{} |
no |
| function_name | Lambda function name | any |
n/a | yes |
| function_url | Create lambda function url | bool |
false |
no |
| function_url_cors | Function url cors | any |
{} |
no |
| handler | Name of Handler | any |
null |
no |
| image_config_command | The CMD for the docker image | list(string) |
[] |
no |
| image_config_entry_point | The ENTRYPOINT for the docker image | list(string) |
[] |
no |
| image_config_working_directory | The working directory for the docker image | string |
null |
no |
| image_uri | uri of image | any |
null |
no |
| lambda_memory | Required Memory for Lambda function | number |
128 |
no |
| lambda_runtime | Lambda language | any |
null |
no |
| lambda_timeout | Required Timeout for Lambda function | number |
5 |
no |
| layers_arn | Lambda layer arn | list(string) |
null |
no |
| logs_retention | Specifies the number of days you want to retain log events in the specified log group | number |
null |
no |
| output_path | The name for the zip file created with the file described in source_file | string |
"" |
no |
| package_type | type of package | any |
null |
no |
| prefix | Prefix for resources | string |
"" |
no |
| publish | Publish lambda function version | bool |
false |
no |
| s3_bucket | Lambda artifacts bucket | string |
"" |
no |
| s3_key | Path of the zip file which is present in s3 bucket | string |
"" |
no |
| security_group_ids | Security geoup id | list(any) |
null |
no |
| source_file | Lambda source file | string |
"" |
no |
| subnets | Subnets | list(any) |
null |
no |
| tags | Tags | map |
{} |
no |
| tracing_mode | Tracing mode of the Lambda Function. Valid value can be either PassThrough or Active. | string |
null |
no |
| Name | Description |
|---|---|
| arn | Lambda ARN |
| function_name | Name of the Lambda function. |
| function_url | Function url |
| invoke_arn | Lambda Invoke ARN |
| role_arn | Role arn |
| role_name | Role name |
Apache 2 Licensed. See LICENSE for full details.