terraform.aws-baseline-infra/examples/lambda-layers/README.md

1.3 KiB

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.