Skip to content

Latest commit

 

History

History

example

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Example

Creates example APIM instance.

Usage

module "apim" {
  source = "github.com/messeb/terraform-az-apim.git"

  resource_group_name = "az-api-management"
  resources_base_name = "az-api-management"
  location            = "westeurope"
  publisher_email     = "[email protected]"
  publisher_name      = "messeb"
  sku_name            = "Consumption_0"

  api_keys = [
    {
      name = "ApiKey01"
      key  = "f1a9b055-638a-4b4b-8b77-58ae5a602aab"
    }
  ]

  sub_domain_dns = {
    resource_group_name = "messeb"
    zone_name           = "messeb.net"
    root_domain         = "messeb.net"
    sub_domain_name     = "az-api-management"
  }
}