|
4 | 4 | <a href="https://cpco.io/homepage"><img src="https://github.com/cloudposse/terraform-aws-lambda-function/blob/main/.github/banner.png?raw=true" alt="Project Banner"/></a><br/> |
5 | 5 |
|
6 | 6 |
|
7 | | -<p align="right"><a href="https://github.com/cloudposse/terraform-aws-lambda-function/releases/latest"><img src="https://img.shields.io/github/release/cloudposse/terraform-aws-lambda-function.svg?style=for-the-badge" alt="Latest Release"/></a><a href="https://github.com/cloudposse/terraform-aws-lambda-function/commits"><img src="https://img.shields.io/github/last-commit/cloudposse/terraform-aws-lambda-function.svg?style=for-the-badge" alt="Last Updated"/></a><a href="https://cloudposse.com/slack"><img src="https://slack.cloudposse.com/for-the-badge.svg" alt="Slack Community"/></a><a href="https://cloudposse.com/support/"><img src="https://img.shields.io/badge/Get_Support-success.svg?style=for-the-badge" alt="Get Support"/></a> |
| 7 | +<p align="right"><a href="https://github.com/cloudposse/terraform-aws-lambda-function/releases/latest"><img src="https://img.shields.io/github/release/cloudposse/terraform-aws-lambda-function.svg?style=for-the-badge" alt="Latest Release"/></a><a href="https://github.com/cloudposse/terraform-aws-lambda-function/commits"><img src="https://img.shields.io/github/last-commit/cloudposse/terraform-aws-lambda-function.svg?style=for-the-badge" alt="Last Updated"/></a><a href="https://cloudposse.com/slack"><img src="https://slack.cloudposse.com/for-the-badge.svg" alt="Slack Community"/></a> |
8 | 8 |
|
9 | 9 | </p> |
10 | 10 | <!-- markdownlint-restore --> |
|
30 | 30 |
|
31 | 31 | --> |
32 | 32 |
|
33 | | -This module deploys an AWS Lambda function from a Zip file or from a Docker image. Additionally, it creates an IAM |
34 | | -role for the Lambda function, which optionally attaches policies to allow for CloudWatch Logs, Cloudwatch Insights, |
| 33 | +This module deploys an AWS Lambda function from a Zip file or from a Docker image. Additionally, it creates an IAM |
| 34 | +role for the Lambda function, which optionally attaches policies to allow for CloudWatch Logs, Cloudwatch Insights, |
35 | 35 | VPC Access and X-Ray tracing. |
36 | 36 |
|
37 | 37 |
|
@@ -86,6 +86,10 @@ module "lambda" { |
86 | 86 |
|
87 | 87 |
|
88 | 88 |
|
| 89 | + |
| 90 | + |
| 91 | + |
| 92 | + |
89 | 93 | <!-- markdownlint-disable --> |
90 | 94 | ## Requirements |
91 | 95 |
|
@@ -147,6 +151,7 @@ module "lambda" { |
147 | 151 | | <a name="input_enabled"></a> [enabled](#input\_enabled) | Set to false to prevent the module from creating any resources | `bool` | `null` | no | |
148 | 152 | | <a name="input_environment"></a> [environment](#input\_environment) | ID element. Usually used for region e.g. 'uw2', 'us-west-2', OR role 'prod', 'staging', 'dev', 'UAT' | `string` | `null` | no | |
149 | 153 | | <a name="input_ephemeral_storage_size"></a> [ephemeral\_storage\_size](#input\_ephemeral\_storage\_size) | The size of the Lambda function Ephemeral storage (/tmp) represented in MB.<br/> The minimum supported ephemeral\_storage value defaults to 512MB and the maximum supported value is 10240MB. | `number` | `null` | no | |
| 154 | +| <a name="input_file_system_config"></a> [file\_system\_config](#input\_file\_system\_config) | The Lambda file system configuration block with two required arguments:<br/> - *arn* - The ARN of the EFS file system to mount.<br/> - *local\_mount\_path* - The path where the file system is mounted in the Lambda execution environment. | <pre>object({<br/> arn = string<br/> local_mount_path = string<br/> })</pre> | `null` | no | |
150 | 155 | | <a name="input_filename"></a> [filename](#input\_filename) | The path to the function's deployment package within the local filesystem. If defined, The s3\_-prefixed options and image\_uri cannot be used. | `string` | `null` | no | |
151 | 156 | | <a name="input_function_name"></a> [function\_name](#input\_function\_name) | Unique name for the Lambda Function. | `string` | n/a | yes | |
152 | 157 | | <a name="input_handler"></a> [handler](#input\_handler) | The function entrypoint in your code. | `string` | `null` | no | |
@@ -200,11 +205,6 @@ module "lambda" { |
200 | 205 | <!-- markdownlint-restore --> |
201 | 206 |
|
202 | 207 |
|
203 | | - |
204 | | - |
205 | | - |
206 | | - |
207 | | - |
208 | 208 | ## Related Projects |
209 | 209 |
|
210 | 210 | Check out these related projects. |
|
0 commit comments