Skip to content

ScottEspo/module-Az-APIM-Func

Repository files navigation

Azure APIM Example

module "pizza_toppings" {
  source          = "../"
  name            = "PizzaToppings"
  create_rg       = false
  rg_name         = "1-092ed5cc-playground-sandbox"
  functionappname = "${path.cwd}/toppings.zip"
  api_operations  = local.api_operations
}

WHAT WE ARE BUILDING!

Requirements

Name Version
terraform >=1.0
azurerm ~>3.0
random ~>3.0

Providers

Name Version
azurerm ~>3.0
null n/a
random ~>3.0

Modules

No modules.

Resources

Name Type
azurerm_api_management.api resource
azurerm_api_management_api.example_manual resource
azurerm_api_management_api_operation.example resource
azurerm_api_management_product.example resource
azurerm_api_management_product_api.example_mock resource
azurerm_cosmosdb_account.pizza_db_acct resource
azurerm_resource_group.rg resource
azurerm_service_plan.example resource
azurerm_storage_account.example resource
azurerm_windows_function_app.example resource
null_resource.az_func_zip_upload resource
random_string.azurerm_api_management_name resource
azurerm_resource_group.SN data source

Inputs

Name Description Type Default Required
api_operations Map of API Operations to create for API being created
map(object({
operation_id = string
display_name = string
method = string
url_template = string
description = string
}))
n/a yes
create_rg set to true if you are creating a new Resource Group for all resources bool false no
functionappname n/a string "" no
name n/a string "" no
publisher_email The email address of the owner of the service string "[email protected]" no
publisher_name The name of the owner of the service string "publisher" no
resource_group_location Location for all resources. string "westus" no
resource_group_name_prefix Prefix of the resource group name that's combined with a random ID so name is unique in your Azure subscription. string "rg" no
rg_name n/a string "1-609c3cff-playground-sandbox" no
sku The pricing tier of this API Management service string "Developer" no
sku_count The instance size of this API Management service. number 1 no

Outputs

Name Description
cosmosdb_connectionstrings n/a

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages