Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

comtravo/terraform-aws-api-gateway

Repository files navigation

Terraform AWS module for API gateway with Swagger spec

Introduction

This is a minimal Terraform module which accepts a AWS + Swagger spec and deploys an AWS API Gateway

Usage

Check examples on how to use this module

Authors

Module managed by Comtravo.

License

MIT Licensed. See LICENSE for full details.

Requirements

Name Version
terraform >= 0.13
aws ~> 3.0

Providers

Name Version
aws ~> 3.0

Inputs

Name Description Type Default Required
definition Definition of the API Gateway string n/a yes
domain_name Custom domain name string "" no
name Name of the API gateway deployment string n/a yes
stage Name of the stage to which deployed string n/a yes

Outputs

Name Description
deployment_execution_arn Deployment execution ARN
deployment_id Deployment id
deployment_invoke_url Deployment invoke url
name API Gateway name
rest_api_id REST API id
url Serverless invoke url