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

Support for new v2 SKUs in azurerm_api_management

Open sven5 opened this issue 1 year ago • 34 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Community Note

  • Please vote on this issue by adding a :thumbsup: reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment and review the contribution guide to help.

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

sven5 avatar Jan 03 '24 11:01 sven5

Is there any update on this?

aleena-siddiqui avatar Mar 14 '24 10:03 aleena-siddiqui

This seems to be a duplicate of #23443

wiebeck avatar Mar 19 '24 11:03 wiebeck

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?

wiebeck avatar Mar 19 '24 21:03 wiebeck

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/

arsubram-akamai avatar Apr 25 '24 09:04 arsubram-akamai

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

vasu-telepathy avatar May 02 '24 10:05 vasu-telepathy

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

anandpatra18 avatar May 08 '24 12:05 anandpatra18

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

dattachandan avatar May 08 '24 19:05 dattachandan

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

vasu-telepathy avatar May 17 '24 19:05 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. "

Antupis avatar May 21 '24 13:05 Antupis

Hi! Yes. This update is desperately needed.

vasu-telepathy avatar May 21 '24 13:05 vasu-telepathy

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.

JEngel05 avatar May 22 '24 14:05 JEngel05

@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.

sven5 avatar May 22 '24 14:05 sven5

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

vasu-telepathy avatar May 22 '24 16:05 vasu-telepathy

@vasu-telepathy Oh yes, sorry for confusion.

sven5 avatar May 22 '24 16:05 sven5

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

vasu-telepathy avatar May 26 '24 23:05 vasu-telepathy

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.

kewalaka avatar May 27 '24 07:05 kewalaka

+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.

tuukkjs avatar Jun 03 '24 10:06 tuukkjs

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".

wiebeck avatar Jun 03 '24 11:06 wiebeck

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

vasu-telepathy avatar Jun 03 '24 14:06 vasu-telepathy

any progress on the topic?

zadigus avatar Jun 04 '24 14:06 zadigus

Hi @tombuildsstuff,

could you please shed some light on this.

sven5 avatar Jun 04 '24 14:06 sven5

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

jakubramut avatar Jun 05 '24 05:06 jakubramut

Has work started on this?

SiiwY avatar Jun 10 '24 10:06 SiiwY

Any news on this?

gustafholst avatar Jun 11 '24 15:06 gustafholst

Any progress?

Shohoo avatar Jun 11 '24 16:06 Shohoo

Is this available yet?

JackB-2 avatar Jun 25 '24 08:06 JackB-2

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

PhatAdam avatar Jun 26 '24 14:06 PhatAdam

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.

AjinkyaBapat avatar Jun 27 '24 05:06 AjinkyaBapat

I am a bit disappointed with the Terraform team because there have been no updates. I believe it is time to switch to the native Bicep tool instead of relying on inconsistent Terraform support.

Xavierferna avatar Jul 16 '24 01:07 Xavierferna

Hi any update on this one? I am too looking to upgrade from V1 to V2 but it seems like it's not available with terraform yet

YewTongWong avatar Aug 01 '24 03:08 YewTongWong