terraform.aws-baseline-infra/examples/lambda-layers
2024-10-24 23:06:25 +08:00
..
.terraform/providers/registry.opentofu.org/hashicorp HistoryPurge: Clearing out 238 old commits 2024-10-24 23:06:25 +08:00
lambda-layer1/python/lib/python3.12/site-packages HistoryPurge: Clearing out 238 old commits 2024-10-24 23:06:25 +08:00
.terraform.lock.hcl HistoryPurge: Clearing out 238 old commits 2024-10-24 23:06:25 +08:00
function1.zip HistoryPurge: Clearing out 238 old commits 2024-10-24 23:06:25 +08:00
function.py HistoryPurge: Clearing out 238 old commits 2024-10-24 23:06:25 +08:00
lambda-layer1.zip HistoryPurge: Clearing out 238 old commits 2024-10-24 23:06:25 +08:00
main.tf HistoryPurge: Clearing out 238 old commits 2024-10-24 23:06:25 +08:00
provider.tf HistoryPurge: Clearing out 238 old commits 2024-10-24 23:06:25 +08:00
README.md HistoryPurge: Clearing out 238 old commits 2024-10-24 23:06:25 +08:00

Prepare lambda-layer1 with the following command.

The path is hard-required by AWS. See https://docs.aws.amazon.com/lambda/latest/dg/packaging-layers.html

pip install requests -t python/lib/python3.12/site-packages/

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 resource
aws_lambda_function.myFunction resource
aws_lambda_layer_version.libraries resource
archive_file.function1 data source
archive_file.layer1 data source

Inputs

No inputs.

Outputs

No outputs.


Authorship

This module was developed by xpk.