diff --git a/azurerm/internal/services/kusto/kusto_cluster_resource.go b/azurerm/internal/services/kusto/kusto_cluster_resource.go index d9af417a9d7a..249ac93721c5 100644 --- a/azurerm/internal/services/kusto/kusto_cluster_resource.go +++ b/azurerm/internal/services/kusto/kusto_cluster_resource.go @@ -329,7 +329,7 @@ func expandKustoClusterSku(d *schema.ResourceData) (*kusto.AzureSku, error) { } func expandKustoClusterVNET(input []interface{}) *kusto.VirtualNetworkConfiguration { - if len(input) == 0 { + if len(input) == 0 || input[0] == nil { return nil }