#tf_apigw_mapping
A module used for mapping settings and lambdas to appropriate api gateways and their resources
- Usage
- Requirements
- Providers
- Inputs
- Outputs
- Dependencies - Required external modules
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"
}
Name |
Version |
terraform |
~> 0.12.0 |
aws |
~> 2.0 |
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 |
Name |
Description |
base_url |
n/a |
invoke_url |
n/a |
N/A