Skip to content
terraform public module to make Lambda and proxy API Gateway
HCL Go Makefile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.idea
go1.x_examples
.gitignore
LICENSE
README.md
main.tf
outputs.tf
variables.tf

README.md

A module that creates an API Gateway Proxy And Lambda with S3 repo's artifact.

Current stable version: 1.0.2

required version

terraform 0.12.0+

Call me like this:

module "sample_api"{
  source  = "fukubaka0825/lambda-proxy-integration/aws"
  version = "1.0.2"
  apigw_name = "sample-api"
  function_name = "sample-api"
  lambda_role = module.lambda_role.iam_role_arn
  
  // The repo's name and object key where source code artifact exists
  s3_bucket = data.terraform_remote_state.storage.outputs.s3_serverless_app_bucket.name
  s3_key = "lambda/sample.zip"
  
  // If you want to use vpc lambda,required
  security_group_ids = [module.http_sg.security_group_id]
  subnet_ids = module.vpc.app_subnets
}

output "invoke_url" {
  value = "${module.lambda_proxy.invoke_url}"
}
You can’t perform that action at this time.