2024-08-26 15:27:06 +08:00
|
|
|
<!-- This readme file is generated with terraform-docs -->
|
|
|
|
## Prepare lambda-layer1 with the following command.
|
2024-08-26 15:20:10 +08:00
|
|
|
The path is hard-required by AWS. See https://docs.aws.amazon.com/lambda/latest/dg/packaging-layers.html
|
|
|
|
|
|
|
|
```bash
|
|
|
|
pip install requests -t python/lib/python3.12/site-packages/
|
2024-08-26 15:27:06 +08:00
|
|
|
```
|
|
|
|
|
|
|
|
## Requirements
|
|
|
|
|
|
|
|
| Name | Version |
|
|
|
|
|------|---------|
|
|
|
|
| terraform | >= 1.3.0 |
|
|
|
|
| aws | >= 4.40 |
|
|
|
|
|
|
|
|
## Providers
|
|
|
|
|
|
|
|
| Name | Version |
|
|
|
|
|------|---------|
|
|
|
|
| archive | 2.5.0 |
|
|
|
|
| aws | 5.64.0 |
|
|
|
|
|
|
|
|
## Modules
|
|
|
|
|
|
|
|
No modules.
|
|
|
|
|
|
|
|
## Resources
|
|
|
|
|
|
|
|
| Name | Type |
|
|
|
|
|------|------|
|
|
|
|
| [aws_iam_role.lambda-role1](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_role) | resource |
|
|
|
|
| [aws_lambda_function.myFunction](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/lambda_function) | resource |
|
|
|
|
| [aws_lambda_layer_version.libraries](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/lambda_layer_version) | resource |
|
|
|
|
| [archive_file.function1](https://registry.terraform.io/providers/hashicorp/archive/latest/docs/data-sources/file) | data source |
|
|
|
|
| [archive_file.layer1](https://registry.terraform.io/providers/hashicorp/archive/latest/docs/data-sources/file) | data source |
|
|
|
|
|
|
|
|
## Inputs
|
|
|
|
|
|
|
|
No inputs.
|
|
|
|
|
|
|
|
## Outputs
|
|
|
|
|
|
|
|
No outputs.
|
|
|
|
|
|
|
|
---
|
|
|
|
## Authorship
|
|
|
|
This module was developed by UPDATE_THIS.
|