Lambda-HTTP-API

HarishKM7/Lambda-HTTP-API/AWS

Terraform Module HCL AWS

Terraform module to deploy an HTTP API in AWS API Gateway backed by one or more Lambda functions.

Install
module "Lambda-HTTP-API" {
source = "HarishKM7/Lambda-HTTP-API/AWS"
version = "0.1.0"
}
plain text: /constructs/tfmod-harishkm7-lambda-http-api-aws/install.txt
⭐ Source on GitHub 📦 Registry page
README

AWS HTTP API + Lambda This Terraform module deploys an HTTP API to AWS API Gateway. It also deploys one or more Lambda functions that you provide and integrates them with the API. Example inputs for this module: ``lang-hcl api_integrations = { "GET /" = "lambda1" "GET /pets" = "lambda2" "POST /pets" = "lambda1" "GET /pets/{petID}" = "lambda3" "GET /toys" = "lambda3" } lambda_functions = { lambda1 = { runtime = "nodejs14.x" handler = "index.handler" zip = "../lambda1.zip" } lambda2 = { runtime = "nodejs14.x" handler = "index.handler" zip = "../lambda2.zip" } lambda3 = { runtime = "python3.7" handler = "index.handler" zip = "../lambda3.zip" } } ``

Inputs (3)
NameTypeDescriptionDefault
lambda_functionsanyLambda functions. (See examples.) required
api_namestring required
api_integrationsanyAPI to Lambda mappings. (See examples.) required
Outputs (1)
api_invoke_url
Details
FrameworkTerraform Module
LanguageHCL
Version0.1.0
Cloud AWS
★ Stars0
Forks1
Total downloads3.7k
Inputs3
Outputs1
LicenseMIT
NamespaceHarishKM7
Updated