terraform-provider-azurerm icon indicating copy to clipboard operation
terraform-provider-azurerm copied to clipboard

Support for New SKU Tiers in Azure API Management

Open jgcotta opened this issue 10 months ago • 2 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Community Note

Hello,

I am writing to request the inclusion of the new SKU tiers available for Azure API Management in the terraform-provider-azurerm provider. Specifically, I am interested in the Standard_v2 SKU tier. Azure API Management (new pricing tiers now in preview!) -> https://azure.microsoft.com/en-us/pricing/details/api-management/

As per the latest updates from Azure, they have introduced new SKU tiers for API Management, which offer improved performance and additional features. However, these new SKU tiers are not currently supported in the terraform-provider-azurerm provider.

image

The inclusion of these new SKU tiers would greatly enhance the flexibility and control we have over our Azure API Management resources when using Terraform.

Thank you for considering this request.

Description

Hello,

I am writing to request the inclusion of the new SKU tiers available for Azure API Management in the terraform-provider-azurerm provider. Specifically, I am interested in the Standard_v2 SKU tier. Azure API Management (new pricing tiers now in preview!) -> https://azure.microsoft.com/en-us/pricing/details/api-management/

As per the latest updates from Azure, they have introduced new SKU tiers for API Management, which offer improved performance and additional features. However, these new SKU tiers are not currently supported in the terraform-provider-azurerm provider.

image

The inclusion of these new SKU tiers would greatly enhance the flexibility and control we have over our Azure API Management resources when using Terraform.

Thank you for considering this request.

New or Affected Resource(s)/Data Source(s)

azurerm_api_management

Potential Terraform Configuration

#Create an API Management instance
  resource "azurerm_api_management" "api" {
  name                = var.api_mngmnt_name
  location            = var.location
  resource_group_name = data.azurerm_resource_group.apim_rg.name
  publisher_email     = var.publisher_email
  publisher_name      = var.publisher_name
  sku_name            = "${var.sku}_${var.sku_count}"
}
var.sku=Standard v2

References

NA

jgcotta avatar Mar 27 '24 16:03 jgcotta

Hello, in Addition, there are some changes within the api for the new SKUs. The Direct Management API is not available für SKU v2 Tiers anymore. Currently this leads to errors during plan because Terraform tries to get sign in and tenant settings wich are not accessible for those tiers.

Example with SKU "StandardV2_1":

Error: retrieving Sign In Settings for Service (Subscription: "xxxx-redacted" │ Resource Group Name: "XXX-redacted" │ Service Name: "xxx-redacted"): unexpected status 400 (400 Bad Request) with error: MethodNotAllowedInPricingTier: Method not allowed in this pricing tier

fabianbusch avatar Apr 16 '24 11:04 fabianbusch

Is there any planned date when will this be implemented? Facing same issues as mentioned from both @jgcotta and @fabianbusch

megastary avatar May 10 '24 14:05 megastary

Hi! When would this be available? Thanks!

vasu-telepathy avatar May 17 '24 19:05 vasu-telepathy

Hi, is there an update on this, the tiers were released to GA in April. https://azure.microsoft.com/en-us/updates/announcing-general-availability-of-azure-api-management-basic-v2-and-standard-v2-tiers/

SorenA avatar Jul 15 '24 07:07 SorenA

I see that this was added to the 4.2 milestone, but 4.2 is out now, and it doesn't look like this shipped with it? When is this support going to be added?

w3bward avatar Sep 13 '24 22:09 w3bward