Terraform module for a Lambda function with a standard configuration
module "my_lambda" {
source = "github.com/highwingio/terraform-aws-lambda-function?ref=master"
# Other arguments here...
}This repo uses terraform-docs to autogenerate its README.
To regenerate, run this command:
$ terraform-docs markdown table . > README.mdNo requirements.
| Name | Version |
|---|---|
| aws | n/a |
| Name | Source | Version |
|---|---|---|
| lambda_function | terraform-aws-modules/lambda/aws | 7.2.6 |
| Name | Type |
|---|---|
| aws_region.current | data source |
| aws_sns_topic.notifications | data source |
| aws_ssm_parameter.account_name | data source |
| aws_ssm_parameter.deployment_bucket_id | data source |
| aws_ssm_parameter.global_account_id | data source |
| aws_ssm_parameter.kms_key_arn | data source |
| Name | Description | Type | Default | Required |
|---|---|---|---|---|
| allowed_triggers | n/a | map(any) |
{} |
no |
| description | n/a | string |
null |
no |
| ecr_address | n/a | string |
n/a | yes |
| ecr_arn | n/a | string |
n/a | yes |
| engine_name | n/a | string |
n/a | yes |
| environment_variables | n/a | map(any) |
{} |
no |
| event_source_mapping | Map of event source mappings | map(any) |
{} |
no |
| function_name | n/a | string |
n/a | yes |
| handler | n/a | string |
null |
no |
| image_tag | n/a | string |
"latest" |
no |
| memory_size | n/a | number |
1024 |
no |
| policy_statements | n/a | map(any) |
{} |
no |
| security_group_ids | n/a | list(string) |
[] |
no |
| subnet_ids | n/a | list(string) |
[] |
no |
| timeout | n/a | string |
"60" |
no |
| Name | Description |
|---|---|
| function_arn | n/a |
| function_name | n/a |
| function_version | n/a |
| lambda_role_arn | n/a |
| lambda_role_name | n/a |
| qualified_function_arn | n/a |