Skip to content

Commit 0f0fc10

Browse files
updated readme
1 parent 46c17c0 commit 0f0fc10

File tree

2 files changed

+7
-36
lines changed

2 files changed

+7
-36
lines changed

README.md

Lines changed: 5 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,7 @@
1-
# Lambda Layer with Python Library **Requests**
2-
When your Lambda need to import libraries, packaing all libraries along with your business logic is not recommended. Instead you can upload libraries as Lambda Layers, so that multiple Lambda can access same layer.
1+
# Moved to new Organization!!!
32

4-
This module will create an AWS Lambda Layer with Python library **requests** . This module is published in Terraform as [**TechieInYou/lambdalayer-python-requests/aws**](https://registry.terraform.io/modules/techieinyou/lambdalayer-python-requests/aws/latest).
3+
In the course of our recent rebranding, we've moved this Terraform module to a new organization **CloudPedia.AI** to better reflect its purpose. You can find it at the new location given below. We remain committed to ongoing support for this module in its new home.
54

6-
## What is Requests Library
7-
Requests is a simple, yet elegant, HTTP library which allows you to send HTTP/1.1 requests extremely easily. See more details about this library [here](https://pypi.org/project/requests/)
8-
9-
10-
## How this module works?
11-
This module will
12-
13-
1. create a local folder `lambdalayer`
14-
2. install Requests library (using pip3) in the above folder
15-
3. after succussfull installation, it will package the folder
16-
4. create a Lambda Layer in AWS and will upload the package
17-
5. return the ARN of the Lambda Layer with version #
18-
19-
20-
## Values needs to be provided
21-
22-
### Layer Name (Optional)
23-
You can assign the Lambda Layer name by assigning variable __layer_name__. If not provided, then the layer name will be **lib-python-requests**.
24-
25-
26-
### Python Runtime (Optional)
27-
This module supports the following Python runtimes.
28-
29-
| Version | Identifier |
30-
|---------------|----------- |
31-
| Python 3.12 | python3.12 |
32-
| Python 3.11 | python3.11 |
33-
| Python 3.10 | python3.10 |
34-
| Python 3.9 | python3.9 |
35-
| Python 3.8 | python3.8 |
36-
37-
You can change the runtime by assigning variable __python_runtime__. If not provided, Layer will be created with default runtime __python3.12__
5+
- [Terraform module](https://registry.terraform.io/modules/cloudpediaai/lambdalayer-python/aws/latest)
6+
- [Documentation](https://cloudpedia.ai/terraform-module/aws-lambdalayer-python/)
7+
- [GitHub Repo](https://github.com/CloudPediaAI/terraform-aws-lambdalayer-python)

outputs.tf

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# returns lambda layer ARN
2-
output "lambda_layer_python_requests_arn" {
2+
output "arn" {
33
value = aws_lambda_layer_version.python_requests.arn
4+
description = "ARN of Lambda Layer created by this module"
45
}

0 commit comments

Comments
 (0)