You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave comments along the lines of "+1", "me too" or "any updates", 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.
Terraform Version
1.8.7
AzureRM Provider Version
3.108.0
Affected Resource(s)/Data Source(s)
azurerm_api_management
Terraform Configuration Files
I have encountered an issue where the azurerm_api_management resource in the Terraform Azure Provider does not support the standardv2 SKU. This limitation is causing problems in our infrastructure deployment, as we need to utilize the standardv2 SKU for our API Management resources.
Suggested Solution:
Please add support for the standardv2 SKU in the azurerm_api_management resource within the Terraform Azure Provider.
Thank you for addressing this issue. If more information or clarification is needed, please let me know.
Debug Output/Panic Output
│ Error: invalid value for sku_name (This is not a valid Api Management sku name.)
│
│ with module.apim.azurerm_api_management.apim,
│ on ../../modules/terraform-module-azure-api-mgt/r-api-management.tf line 8, in resource "azurerm_api_management""apim":
│ 8: sku_name = var.sku_name
Expected Behaviour
The azurerm_api_management resource should successfully create an API Management instance with the standardv2 SKU.
Actual Behaviour
│ Error: invalid value for sku_name (This is not a valid Api Management sku name.)
│
│ with module.apim.azurerm_api_management.apim,
│ on ../../modules/terraform-module-azure-api-mgt/r-api-management.tf line 8, in resource "azurerm_api_management" "apim":
│ 8: sku_name = var.sku_name
Steps to Reproduce
Define an azurerm_api_management resource with the standardv2 SKU in a Terraform configuration file:
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Is there an existing issue for this?
Community Note
Terraform Version
1.8.7
AzureRM Provider Version
3.108.0
Affected Resource(s)/Data Source(s)
azurerm_api_management
Terraform Configuration Files
Debug Output/Panic Output
Expected Behaviour
The azurerm_api_management resource should successfully create an API Management instance with the standardv2 SKU.
Actual Behaviour
│ Error: invalid value for sku_name (This is not a valid Api Management sku name.)
│
│ with module.apim.azurerm_api_management.apim,
│ on ../../modules/terraform-module-azure-api-mgt/r-api-management.tf line 8, in resource "azurerm_api_management" "apim":
│ 8: sku_name = var.sku_name
Steps to Reproduce
Define an azurerm_api_management resource with the standardv2 SKU in a Terraform configuration file:
hcl
Copy code
resource "azurerm_api_management" "example" {
name = "example-apim"
location = azurerm_resource_group.example.location
resource_group_name = azurerm_resource_group.example.name
publisher_name = "Example"
publisher_email = "[email protected]"
sku_name = "standardv2" # The problematic SKU
}
Run terraform apply.
Important Factoids
No response
References
https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/api_management
The text was updated successfully, but these errors were encountered: