{"id":18062177,"url":"https://github.com/messeb/terraform-az-apim","last_synced_at":"2026-05-01T09:31:17.002Z","repository":{"id":65543073,"uuid":"594375190","full_name":"messeb/terraform-az-apim","owner":"messeb","description":"Terraform module to create Azure API Management with Subdomain","archived":false,"fork":false,"pushed_at":"2023-02-09T19:36:59.000Z","size":51,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-05T13:15:35.373Z","etag":null,"topics":["azure","azure-api-management","azure-cdn","terraform"],"latest_commit_sha":null,"homepage":"","language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/messeb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-01-28T11:00:20.000Z","updated_at":"2023-01-28T11:56:51.000Z","dependencies_parsed_at":"2023-02-15T16:01:30.463Z","dependency_job_id":null,"html_url":"https://github.com/messeb/terraform-az-apim","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/messeb/terraform-az-apim","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/messeb%2Fterraform-az-apim","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/messeb%2Fterraform-az-apim/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/messeb%2Fterraform-az-apim/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/messeb%2Fterraform-az-apim/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/messeb","download_url":"https://codeload.github.com/messeb/terraform-az-apim/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/messeb%2Fterraform-az-apim/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32492081,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"online","status_checked_at":"2026-05-01T02:00:05.856Z","response_time":64,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["azure","azure-api-management","azure-cdn","terraform"],"created_at":"2024-10-31T05:06:04.822Z","updated_at":"2026-05-01T09:31:16.988Z","avatar_url":"https://github.com/messeb.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Azure API Management\n\n![Overview](assets/overview.svg)\n\nThis Terraform module provides the required infrastructure to create an API Management with a custom subdomain.\n\n[![](https://github.com/messeb/terraform-az-apim/workflows/terraform/badge.svg)](https://github.com/messeb/terraform-az-apim/actions)\n[![](https://img.shields.io/github/license/messeb/terraform-az-apim)](https://github.com/messeb/terraform-az-apim/blob/main/LICENSE)\n[![](https://img.shields.io/github/issues/messeb/terraform-az-apim)](https://github.com/messeb/terraform-az-apim/issues)\n[![](https://img.shields.io/github/issues-closed/messeb/terraform-az-apim)](https://github.com/messeb/terraform-az-apim/issues?q=is%3Aissue+is%3Aclosed)\n[![](https://img.shields.io/github/languages/code-size/messeb/terraform-az-apim)](https://github.com/messeb/terraform-az-apim)\n[![](https://img.shields.io/github/repo-size/messeb/terraform-az-apim)](https://github.com/messeb/terraform-az-apim)\n\n## Details\n\n* Creates an Azure API Management instance in the specified resource group.\n* Adds a custom domain to the API Management instance.\n* Adds logging to the API Management instance.\n\n## Usage\n\n```hcl\nmodule \"apim\" {\n  source = \"github.com/messeb/terraform-az-apim.git\"\n\n  resource_group_name = \"az-apim\"\n  resources_base_name = \"az-apim\"\n  location            = \"westeurope\"\n  publisher_email     = \"johndoe@example.com\"\n  publisher_name      = \"John Doe\"\n  sku_name            = \"Consumption_0\"\n\n  api_keys = [\n    {\n      name = \"ApiKey01\"\n      key  = \"cologne-4711\"\n    }\n  ]\n\n  sub_domain_dns = {\n    resource_group_name = \"example\"\n    zone_name           = \"example.com\"\n    root_domain         = \"example.com\"\n    sub_domain_name     = \"api\"\n  }\n}\n```\n\n## Example\n\n[Example Usage](example/)\n\n## Resources\n\n| Name | Type |\n|------|------|\n| [random_uuid.uuid](https://registry.terraform.io/providers/hashicorp/random/latest/docs/resources/uuid) | resource |\n| [random_string.rnd](https://registry.terraform.io/providers/hashicorp/random/latest/docs/resources/string) | resource |\n| [azurerm_resource_group.rg](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/resource_group) | resource |\n| [azurerm_application_insights.api-insights](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/application_insights) | resource |\n| [azurerm_api_management_logger.logger](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/api_management_logger) | resource |\n| [azurerm_api_management_diagnostic.diag](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/api_management_diagnostic) | resource |\n| [azurerm_api_management.apim](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/api_management) | resource |\n| [azurerm_api_management_subscription.subscriptions](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/api_management_subscription) | resource |\n| [azurerm_cdn_profile.apim-cdnprofile](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/cdn_profile) | resource |\n| [azurerm_cdn_endpoint.apim-endpoint](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/cdn_endpoint) | resource |\n| [azurerm_dns_cname_record.cname_record](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/dns_cname_record) | resource |\n| [azurerm_cdn_endpoint_custom_domain.cdn_custom_domain](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/cdn_endpoint_custom_domain) | resource |\n| [null_resource.destroy_cname_record](https://registry.terraform.io/providers/hashicorp/null/latest/docs/resources/resource) | resource |\n\n## Inputs\n\n| Name | Description | Type | Default | Required |\n|------|-------------|------|---------|:--------:|\n| resource_group_name | Resource group in which the resources will be created. | `string` | n/a | yes |\n| resources_base_name | Basename for all of the resources. | `string` | n/a | yes |\n| location | Azure cloud region | `string` | n/a | yes |\n| publisher_name | Name of the publisher | `string` | n\\a | yes |\n| publisher_email | Email of the publisher | `string` | n\\a | yes |\n| sku_name | SKU of Application Management service | `string` | `\"Consumption_0\"` | no |\n| api_keys | List of api keys | `list(object)` | `[]` | no |\n| sub_domain_dns.resource_group_name | Resource group of the DNS zone of the root domain | `string` | n/a | yes |\n| sub_domain_dns.zone_name | Zone name of the root domain | `string` | n/a | yes |\n| sub_domain_dns.root_domain | Root domain of the website | `string` | n/a | yes |\n| sub_domain_dns.sub_domain_name | Sub-domain of the website | `string` | n/a | yes |\n\n## Outputs\n\n| Name | Description |\n|------|-------------|\n| api_management_url | The HTTPS-URL of the CDN endpoint of the API Management. |\n| api_management_name | Name of the API Management. |\n| api_management_resource_group_name | Resource group name of the API Management. |\n| api_management_location | Location of the API Management. |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmesseb%2Fterraform-az-apim","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmesseb%2Fterraform-az-apim","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmesseb%2Fterraform-az-apim/lists"}