From 2eec85c73cd8b98d37b6fbb1814818c73ab39900 Mon Sep 17 00:00:00 2001 From: xiaxin18 Date: Tue, 3 Jan 2023 17:52:56 +0800 Subject: [PATCH] fix capture feature not being set issue --- internal/services/eventhub/eventhub_resource.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/services/eventhub/eventhub_resource.go b/internal/services/eventhub/eventhub_resource.go index ab1e9451ef1d..eda0944bb973 100644 --- a/internal/services/eventhub/eventhub_resource.go +++ b/internal/services/eventhub/eventhub_resource.go @@ -237,6 +237,7 @@ func resourceEventHubUpdate(d *pluginsdk.ResourceData, meta interface{}) error { PartitionCount: utils.Int64(int64(d.Get("partition_count").(int))), MessageRetentionInDays: utils.Int64(int64(d.Get("message_retention").(int))), Status: &eventhubStatus, + CaptureDescription: expandEventHubCaptureDescription(d), }, }