From 5c310f03a5f4dc7fc2a48c3248e227d02e45d528 Mon Sep 17 00:00:00 2001 From: Neil Ye Date: Tue, 20 Dec 2022 11:27:07 +0800 Subject: [PATCH] `azurerm_stream_analytics_output_blob` - fix type conversion for `batch_min_rows` (#19732) fixes https://github.com/hashicorp/terraform-provider-azurerm/issues/19725 --- .../streamanalytics/stream_analytics_output_blob_resource.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/services/streamanalytics/stream_analytics_output_blob_resource.go b/internal/services/streamanalytics/stream_analytics_output_blob_resource.go index 29d98da88d35..fe8b55f9db97 100644 --- a/internal/services/streamanalytics/stream_analytics_output_blob_resource.go +++ b/internal/services/streamanalytics/stream_analytics_output_blob_resource.go @@ -181,7 +181,7 @@ func resourceStreamAnalyticsOutputBlobCreateUpdate(d *pluginsdk.ResourceData, me } if batchMinRows, ok := d.GetOk("batch_min_rows"); ok { - props.Properties.SizeWindow = utils.Int64(batchMinRows.(int64)) + props.Properties.SizeWindow = utils.Int64(int64(batchMinRows.(int))) } // timeWindow and sizeWindow must be set for Parquet serialization