Newly added Consumption SKU for Azure API Management fails "expected sku_name capacity value to be greater that 1, got 0" #542
Labels
awaiting-upstream
The issue cannot be resolved without action in another repository (may be owned by Pulumi).
kind/bug
Some behavior is incorrect or out of spec
resolution/fixed
This issue was fixed
Terraform has recently added support for newer Consumption SKU for Azure API Management in terraform-provider-azurerm:
https://github.com/terraform-providers/terraform-provider-azurerm/releases/tag/v2.8.0
hashicorp/terraform-provider-azurerm#6602
Pulumi-azure has included this in v3.4.0 it looks like:
https://github.com/pulumi/pulumi-azure/releases/tag/v3.4.0
However if I specify the value
skuName: 'Consumption_0'
I get the errorexpected sku_name capacity value to be greater that 1, got 0
.If I specify the value
skuName: 'Consumption_1'
I get the errorInvalid parameter: For Consumption SKU Type capacity must be specified as 0.
Is there extra validation in Pulumi's code which does not allow a zero value that perhaps needs to be amended?
The text was updated successfully, but these errors were encountered: