#tf_apigw_mapping A module used for mapping settings and lambdas to appropriate api gateways and their resources

Table of Contents

  1. Usage
  2. Requirements
  3. Providers
  4. Inputs
  5. Outputs
  6. Dependencies - Required external modules

Usage

Add to your terraform code.

  module "cap-apigw-resource-mapping-module" {
    source = "git@github.com:beaudryj/cap-apigw-resource-mapping-module.git"
    input_name        = "var.input_name"
  }

Requirements

Name Version
terraform ~> 0.12.0
aws ~> 2.0

Providers

Name Version
aws ~> 2.0

Inputs

Name Description Type Default Required
api_method id of rest api to deploy to string "" no
api_name The name of the API Gateway string "change me" no
auth_lambda_name The name of the auth Lambda function string "change me" no
auth_token_regex Regex used for validating incoming token string n/a yes
auth_ttl The TTL of cached authorizer results in seconds. string "300" no
authorizer_name The name of the authorizer string "change me" no
domain_name The fully-qualified domain name to register string n/a yes
function_name The name of the Lambda function string "changeme" no
gateway_execution_arn API Gateway Execution ARN string "change me" no
gatewayed_lambda_arn ARN of Lambda in Gateway string "changeme" no
gatewayed_lambda_name ARN of Lambda in Gateway string "changeme" no
invocation_role_name The name of the role to attach to the authorizer string "change me" no
request_parameters n/a map
{
"method.request.querystring.date": true
}
no
resource_id id of api resource string "" no
resource_name name of resource to be used for invocation permission string "" no
rest_api_id if of rest api to deploy to string "" no
stage_name The name of the deployment stage string "change me" no
tags Default Tags map n/a yes
uuid Optional variable used for namespacing string "" no

Outputs

Name Description
base_url n/a
invoke_url n/a

Dependencies

N/A