Skip to content

Latest commit

 

History

History

api_gateway

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

API Gateway

terraform-aws-ldap-maintainer API Gateway module

Overview

This module will deploy an API endpoint with invoke permissions to a target lambda function. This lambda function will then be executed asynchronously when the endpoint is triggered. Currently this endpoint has only been configured to respond to slack events.

Requirements

No requirements.

Providers

Name Version
aws n/a

Resources

Name Type
aws_caller_identity.current data source
aws_iam_policy_document.api_gw data source
aws_iam_policy_document.trust data source
aws_lambda_function.async data source
aws_region.current data source

Inputs

Name Description Type Default Required
async_lambda_name Name of the lambda function that API gateway will invoke asynchronously string n/a yes
project_name (Optional) Name of the project string "ldap-maintainer" no
stage_name Name of the api stage to deploy string "ldapmaintainer" no
tags Map of tags to assign to this module's resources map(string) {} no

Outputs

Name Description
api_gw_role_arn ARN of the IAM role assigned to the API gateway
invoke_url Base url used to invoke this module's api endpoints
rest_api Object containing the API Gateway REST API
rest_api_deployment Object containing the API Gateway REST API Deployment
slack_listener_api_endpoint_arn ARN of the slack listener API endpoint