Use this URL for the source of the module. See the usage examples below for more details.
github.com/pbs/terraform-aws-lambda-lb-module?ref=x.y.z
More information can be found on these install methods and more in the documentation here.
Provisions an AWS Lambda function and an Application Load Balancer to route traffic to it.
Integrate this module like so:
module "lambda_lb" {
source = "github.com/pbs/terraform-aws-lambda-lb-module?ref=x.y.z"
handler = "main.lambda_handler"
filename = "./artifacts/deploy.zip"
runtime = "python3.10"
primary_hosted_zone = var.primary_hosted_zone
# Tagging Parameters
organization = var.organization
environment = var.environment
product = var.product
repo = var.repo
# Optional Parameters
}
If this repo is added as a subtree, then the version of the module should be close to the version shown here:
x.y.z
Note, however that subtrees can be altered as desired within repositories.
Further documentation on usage can be found here.
Below is automatically generated documentation on this Terraform module using terraform-docs