Skip to content

nsbno/terraform-aws-api-gateway

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenAPI API Gateway

Setup an API Gateway using an OpenAPI Schema!

Usage

Use this module with your microservice terraform setup!

module "api_gateway" {
  source = "https://github.com/nsbno/terraform-aws-api-gateway?ref=x.y.z"

  name_prefix      = "infrademo"
  application_name = "demo"

  domain_name = "infrademo.vydev.io"
  base_path   = "demo"

  schema = templatefile("../static/openapi/driftstjenester-backend.yml", {
    hosted_zone_name     = local.shared_config.hosted_zone_name
    base_path            = "infrademo"
  })
}