Azure APIM SKU Update

I happened to deploy Azure api management to host some application recently. We needed traffic to be routed through out Azure subnets but the ‘Basic’ version doesn’t support v-net integration. (More on this in the later blogs)

Microsoft has recently released the Standard V2 for General Availability, for more information about is here

All excited to try this v2 tier. I deploy the infrastructure through azure devops pipelines. Terraform is the IAAC tool to manage the infrastructure. While trying to deploy the new version, I got the following error,

Going back to latest documentation, here, StandardV2_1 is not in the below list.

sku_name – (Required) sku_name is a string consisting of two parts separated by an underscore(_). The first part is the name, valid values include: ConsumptionDeveloperBasicStandard and Premium. The second part is the capacity (e.g. the number of deployed units of the sku), which must be a positive integer (e.g. Developer_1).

Terraform is yet to catch on the latest release and allow standardv2 sku to be deployed.

from the below post https://github.com/hashicorp/terraform-provider-azurerm/issues/25445, it appears to be in the milestone since sep’24.

Alternatively, azapi_resource resource from terraform can be used to deploy the standardv2 sku. The documentation for azapi_resource is here