Skip to content

DNXLabs/terraform-aws-api-gateway

Repository files navigation

terraform-aws-api-gateway

Lint Status LICENSE

Requirements

Name Version
terraform >= 0.13.0

Providers

Name Version
aws n/a

Inputs

Name Description Type Default Required
allowed_ips List of allowed IP's to access the API list(any) [] no
api_description Description for the API string "" no
api_type Type of the API. http or rest string n/a yes
create_api_key Boolean variable that's evaluate the creation of an api key bool false no
create_dns_record When enabled, creates the route53 record for the custom domain bool true no
create_vpc_link n/a bool false no
custom_authorizers Custom authorizer variables
list(object({
name = string
custom_authorizer_lambda_code = string
}))
[] no
domains Domains to be created for the API GATEWAY
list(object({
domain = string
api_route_mapping = string
zone_name = string
}))
[] no
environment_name Name of the environment string "" no
name Api Gateway name string "" no
open_api_file Path to the open api specification string "" no
routes Routes to be created in the API
list(object({
name = string
method = string
integration_type = string
integration_uri = string
route_mapping = string
path_parameters = list(string)
connection_type = string
}))
[] no
tags n/a map {} no
target_arn Target ARN's to the vpc link string "" no
vpc_link_target_id ARN of the resource to attach for the VPC link load balancer target string "" no
vpc_link_target_port TCP Port of the resource to attach for the VPC link load balancer target number 443 no

Outputs

Name Description
api_gateway_domain_targets Targets for creating DNS records manually

Authors

Module managed by DNX Solutions.

License

Apache 2 Licensed. See LICENSE for full details.