hashicorp / terraform-provider-azurerm

Terraform provider for Azure Resource Manager
https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs
Mozilla Public License 2.0
4.46k stars 4.54k forks source link

Support for new v2 SKUs in azurerm_api_management #24377

Open sven5 opened 6 months ago

sven5 commented 6 months ago

Is there an existing issue for this?

Community Note

Description

Azure API Management allows new Service Tiers. https://learn.microsoft.com/en-us/azure/api-management/v2-service-tiers-overview

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

azurerm_api_management

Potential Terraform Configuration

No response

References

No response

aleena-siddiqui commented 3 months ago

Is there any update on this?

wiebeck commented 3 months ago

This seems to be a duplicate of #23443

wiebeck commented 3 months ago

I was about to add the new SKU names to the ApimSkuName function when I noticed that this would probably also require to switch to API Management API version 2023-03-01-preview or later (the provider currently uses 2022-08-01). See the docs here. Is it acceptable to use preview APIs in the provider?

arsubram-akamai commented 2 months ago

As mentioned in below link, both v2 SKUs are available (GA). Can we expect a new revision in terraform-provider-azurerm to support these SKUs?

https://azure.microsoft.com/en-in/updates/announcing-general-availability-of-azure-api-management-basic-v2-and-standard-v2-tiers/

vasu-telepathy commented 2 months ago

Hi! echoing the above comment. Would it be possible to provide support for v2 SKUs? Thanks!

anandpatra18 commented 2 months ago

Hey guys! Does anyone have any updates or timelines for this feature ?

dattachandan commented 2 months ago

Would be keen to see this in the Azure Verified Modules as well

vasu-telepathy commented 1 month ago

Second Ping: Any idea when this will be available now that the APIM is GA for V2? Thanks!

Antupis commented 1 month ago

Any updates on this Azure documentation says "Support for API Management instances hosted on the stv1 platform will be retired by 31 August 2024. "

vasu-telepathy commented 1 month ago

Hi! Yes. This update is desperately needed.

JEngel05 commented 1 month ago

Is this resource still actively maintained? Bicep has had this functionality for quite awhile. Still waiting on Terraform to support it and it's been completely silent on when we may see this functionality. It makes it hard to justify using Terraform when there is such a delay in feature implementation.

sven5 commented 1 month ago

@vasu-telepathy

Any updates on this Azure documentation says "Support for API Management instances hosted on the stv1 platform will be retired by 31 August 2024. "

You're mixing things up. This issue is not about stv1 or stv2 compute platform. You can read more about compute platforms here.

This issue is about the Service Tier of APIM. You can read more about this here or in the documentation.

vasu-telepathy commented 1 month ago

@sven5 Did you mean to address that note to @Antupis ?

sven5 commented 1 month ago

@vasu-telepathy Oh yes, sorry for confusion.

vasu-telepathy commented 1 month ago

@sven5 No worries. Brings back to my original question on support for V2. Is there a timeline? Thanks!

kewalaka commented 1 month ago

i posted a clarification about the difference between stv1+2 and these new SKUs on the earlier issue that was closed in favour of this one.

tuukkasarvi commented 1 month ago

+1 this is important to have. New tiers have some advantages over old ones, e.g., afaik the v2 tiers offer faster provisioning and scaling, and the Standard v2 tier supports simplified connection to network-isolated backends and multiple custom domain names.

Also, I am interested in possible workarounds on how to upgrade a Terraform-managed API management resource to v2 tier while explicit v2 tier support is not available in the provider.

wiebeck commented 1 month ago

afaik the v2 tiers offer faster provisioning and scaling, and the Standard v2 tier supports simplified connection to network-isolated backends and multiple custom domain names.

Also "pricing".

vasu-telepathy commented 1 month ago

Yes. Pricing...I forget to mention that. Standard V2 is very attractive for us.

zadigus commented 1 month ago

any progress on the topic?

sven5 commented 1 month ago

Hi @tombuildsstuff,

could you please shed some light on this.

jakubramut commented 1 month ago

hello @tombuildsstuff, do you have any expected date when the support for v2 SKU will be available in azurerm terraform provider?

SiiwY commented 4 weeks ago

Has work started on this?

gustafholst commented 3 weeks ago

Any news on this?

Shohoo commented 3 weeks ago

Any progress?

JackIndra commented 2 weeks ago

Is this available yet?

PhatAdam commented 1 week ago

Any update to this?
We require a vnet integration, and with microsoft removing support for the developer tier and support - we have to move our Dev, and QA to Standard_V2 but the terraform api library isn't available.

│ Error: invalid value for sku_name (This is not a valid Api Management sku name.) │ │ with azurerm_api_management.pbm_dev_apim, │ on apim.tf line 59, in resource "azurerm_api_management" "pbm_dev_apim": │ 59: sku_name = "Standard_v2" │

image

AjinkyaBapat commented 1 week ago

Does this also mean we cannot use azurerm_api_management_api and azurerm_api_management_product_api resources with the APIM which is created outside of Terraform with Standard v2 SKU ??

Update: Tried this today and was able to use these 2 resources against Standard V2 APIM created outside TF.