@@ -17,7 +17,7 @@ MIT Licensed. See LICENSE for full details.
1717
1818| Name | Version |
1919| ------| ---------|
20- | terraform | >= 0.12 |
20+ | terraform | >= 0.13 |
2121| aws | ~ > 3.0 |
2222
2323## Providers
@@ -30,36 +30,35 @@ MIT Licensed. See LICENSE for full details.
3030
3131| Name | Description | Type | Default | Required |
3232| ------| -------------| ------| ---------| :--------:|
33- | file_name | Lambda function filename name | ` string ` | n/a | yes |
34- | function_name | Lambda function name | ` string ` | n/a | yes |
35- | handler | Lambda function handler | ` string ` | n/a | yes |
36- | region | AWS region | ` string ` | n/a | yes |
37- | role | Lambda function role | ` string ` | n/a | yes |
38- | trigger | Trigger configuration for this lambda function | ` any ` | n/a | yes |
39- | cloudwatch_log_retention | Enable Cloudwatch logs retention | ` number ` | ` 90 ` | no |
40- | cloudwatch_log_subscription | Cloudwatch log stream configuration | <pre >object({<br > enable : bool<br > filter_pattern : string<br > destination_arn : string<br > })</pre > | <pre >{<br > "destination_arn": "",<br > "enable": false,<br > "filter_pattern": ""<br >}</pre > | no |
33+ | cloudwatch\_ log\_ retention | Enable Cloudwatch logs retention | ` number ` | ` 90 ` | no |
34+ | cloudwatch\_ log\_ subscription | Cloudwatch log stream configuration | <pre >object({<br > enable : bool<br > filter_pattern : string<br > destination_arn : string<br > })</pre > | <pre >{<br > "destination_arn": "",<br > "enable": false,<br > "filter_pattern": ""<br >}</pre > | no |
4135| description | Lambda function description | ` string ` | ` "Managed by Terraform" ` | no |
4236| environment | Lambda environment variables | ` map(string) ` | ` null ` | no |
37+ | file\_ name | Lambda function filename name | ` string ` | n/a | yes |
38+ | function\_ name | Lambda function name | ` string ` | n/a | yes |
39+ | handler | Lambda function handler | ` string ` | n/a | yes |
4340| layers | List of layers for this lambda function | ` list(string) ` | ` [] ` | no |
44- | memory_size | Lambda function memory size | ` number ` | ` 128 ` | no |
41+ | memory \_ size | Lambda function memory size | ` number ` | ` 128 ` | no |
4542| publish | Publish lambda function | ` bool ` | ` false ` | no |
46- | reserved_concurrent_executions | Reserved concurrent executions for this lambda function | ` number ` | ` -1 ` | no |
43+ | region | AWS region | ` string ` | n/a | yes |
44+ | reserved\_ concurrent\_ executions | Reserved concurrent executions for this lambda function | ` number ` | ` -1 ` | no |
45+ | role | Lambda function role | ` string ` | n/a | yes |
4746| runtime | Lambda function runtime | ` string ` | ` "nodejs12.x" ` | no |
4847| tags | Tags for this lambda function | ` map(string) ` | ` {} ` | no |
4948| timeout | Lambda function runtime | ` number ` | ` 300 ` | no |
50- | tracing_config | https://www.terraform.io/docs/providers/aws/r/lambda_function.html | <pre >object({<br > mode : string<br > })</pre > | <pre >{<br > "mode": "PassThrough"<br >}</pre > | no |
51- | vpc_config | Lambda VPC configuration | <pre >object({<br > subnet_ids : list(string)<br > security_group_ids : list(string)<br > })</pre > | <pre >{<br > "security_group_ids": [ ] ,<br > "subnet_ids": [ ] <br >}</pre > | no |
49+ | tracing\_ config | https://www.terraform.io/docs/providers/aws/r/lambda_function.html | <pre >object({<br > mode : string<br > })</pre > | <pre >{<br > "mode": "PassThrough"<br >}</pre > | no |
50+ | trigger | Trigger configuration for this lambda function | ` any ` | n/a | yes |
51+ | vpc\_ config | Lambda VPC configuration | <pre >object({<br > subnet_ids : list(string)<br > security_group_ids : list(string)<br > })</pre > | <pre >{<br > "security_group_ids": [ ] ,<br > "subnet_ids": [ ] <br >}</pre > | no |
5252
5353## Outputs
5454
5555| Name | Description |
5656| ------| -------------|
5757| arn | AWS lambda arn |
5858| dlq | AWS lambda Dead Letter Queue details |
59- | function_name | AWS lambda function name |
60- | invoke_arn | AWS lambda invoke_arn |
61- | qualified_arn | AWS lambda qualified_arn |
59+ | function \_ name | AWS lambda function name |
60+ | invoke \_ arn | AWS lambda invoke \_ arn |
61+ | qualified \_ arn | AWS lambda qualified \_ arn |
6262| queue | AWS lambda SQS details |
63- | sns_topics | AWS lambda SNS topics if any |
63+ | sns \_ topics | AWS lambda SNS topics if any |
6464| version | AWS lambda version |
65-
0 commit comments