Skip to content

fukubaka0825/terraform-aws-lambda-proxy-integration

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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}"
}

About

terraform public module to make Lambda and proxy API Gateway

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published