Terraform AWS module for AWS API gateway V2 with OpenAPI spec
This is a minimal Terraform module which accepts a AWS + OpenAPI spec and deploys an AWS API Gateway V2
Check examples on how to use this module
Module managed by Comtravo.
MIT Licensed. See LICENSE for full details.
Name | Version |
---|---|
terraform | >= 0.13 |
aws | ~> 3.0 |
Name | Version |
---|---|
aws | ~> 3.0 |
Name | Description | Type | Default | Required |
---|---|---|---|---|
access_log_settings | https://docs.aws.amazon.com/apigateway/latest/developerguide/set-up-logging.html#apigateway-cloudwatch-log-formats | object({ |
{ |
no |
body | Definition of the API Gateway | string |
n/a | yes |
cors_configuration | https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/apigatewayv2_api#cors_configuration | list(object({ |
[] |
no |
domain_settings | https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/apigatewayv2_domain_name | object({ |
{ |
no |
name | Name of the API gateway deployment | string |
n/a | yes |
protocol_type | https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/apigatewayv2_api#protocol_type | string |
n/a | yes |
stage | Name of the stage to which deployed | string |
n/a | yes |
tags | Tags for resources | map |
{} |
no |
Name | Description |
---|---|
aws_apigatewayv2_api | aws_apigatewayv2_api outputs |
aws_apigatewayv2_api_mapping | aws_apigatewayv2_api_mapping outputs |
aws_apigatewayv2_deployment | aws_apigatewayv2_deployment outputs |
aws_apigatewayv2_domain_name | aws_apigatewayv2_domain_name outputs |
aws_apigatewayv2_stage | aws_apigatewayv2_stage outputs |
aws_cloudwatch_log_group | aws_cloudwatch_log_group outputs |
aws_route53_record | aws_route53_record outputs |