Skip to main content

Module: api-gateway

Terraform module to provision API Gatway resources.

The root module creates an API Gateway REST API along with configuring tracing, logging, and metrics.

The module also consists of the following submodules:

  • account-settings - to provision account-level settings for logging and metrics for API Gateway

Introduction

A set of modules for configuring an API Gateway

Usage

Setup the account-level settings for logging and metrics for API Gateway:

module "api_gateway_account_settings" {
source = "cloudposse/api-gateway/aws//modules/account-settings"
# version = "x.x.x"

context = module.this.context
}

Examples

Review the examples folder to see how to use the API Gateway modules.