Terraform 0.14 plans are broken for dedicated eventhub clusters with capacity > 1 #9650
Labels
bug
upstream/terraform
This issue is blocked on an upstream issue within Terraform (Terraform Core/CLI, The Plugin SDK etc)
v/2.x (legacy)
Milestone
Community Note
Terraform (and AzureRM Provider) Version
Terraform v0.14.0
Affected Resource(s)
Terraform Configuration Files
Debug Output
azurerm_eventhub_cluster.this: Refreshing state... [id=...]
...
2020-12-03T11:45:33.113+0100 [DEBUG] plugin.terraform-provider-azurerm_v2.38.0_x5: [DEBUG] AzureRM Request:
...
2020-12-03T11:45:33.978+0100 [DEBUG] plugin.terraform-provider-azurerm_v2.38.0_x5: {"sku":{"name":"Dedicated","capacity":8},"id":"...","name":"cluster","type":"Microsoft.EventHub/clusters","location":"eastus2","tags":{},"properties":{"createdAt":"2020-08-30T07:59:42.233Z","updatedAt":"2020-09-25T22:10:44.027Z","metricId":"PROD-BN3-570"}}
2020/12/03 11:45:33 [TRACE] EvalWriteState: using RefreshState for azurerm_eventhub_cluster.this
2020/12/03 11:45:33 [TRACE] EvalWriteState: recording 0 dependencies for azurerm_eventhub_cluster.this
2020/12/03 11:45:33 [TRACE] EvalWriteState: writing current state object for azurerm_eventhub_cluster.this
2020/12/03 11:45:33 [TRACE] Re-validating config for "azurerm_eventhub_cluster.this"
2020/12/03 11:45:33 [TRACE] GRPCProvider: ValidateResourceTypeConfig
2020/12/03 11:45:33 [TRACE] vertex "azurerm_eventhub_cluster.this": visit complete
2020/12/03 11:45:33 [TRACE] vertex "azurerm_eventhub_cluster.this": dynamic subgraph encountered errors
2020/12/03 11:45:33 [TRACE] vertex "azurerm_eventhub_cluster.this": visit complete
2020/12/03 11:45:33 [TRACE] vertex "azurerm_eventhub_cluster.this (expand)": dynamic subgraph encountered errors
2020/12/03 11:45:33 [TRACE] vertex "azurerm_eventhub_cluster.this (expand)": visit complete
2020/12/03 11:45:33 [TRACE] dag/walk: upstream of "meta.count-boundary (EachMode fixup)" errored, so skipping
2020/12/03 11:45:33 [TRACE] dag/walk: upstream of "provider["registry.terraform.io/hashicorp/azurerm"] (close)" errored, so skipping
Error: expected sku_name to be one of [Dedicated_1], got Dedicated_8
on ec.tf line 1, in resource "azurerm_eventhub_cluster" "this":
1: resource "azurerm_eventhub_cluster" "this" {
Expected Behaviour
Plan produces no changes
Actual Behaviour
Plan errors
Steps to Reproduce
Run the plan above.
Important Factoids
The text was updated successfully, but these errors were encountered: