From 7d90cfd55c5f2c8079d45230524207eba3789906 Mon Sep 17 00:00:00 2001 From: jackofallops Date: Fri, 23 Aug 2024 15:31:44 +0200 Subject: [PATCH] missed path check in update --- internal/services/cognitive/cognitive_deployment_resource.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/services/cognitive/cognitive_deployment_resource.go b/internal/services/cognitive/cognitive_deployment_resource.go index 3509c567e99a..b7c18eb74511 100644 --- a/internal/services/cognitive/cognitive_deployment_resource.go +++ b/internal/services/cognitive/cognitive_deployment_resource.go @@ -265,7 +265,7 @@ func (r CognitiveDeploymentResource) Update() sdk.ResourceFunc { properties := resp.Model - if metadata.ResourceData.HasChange("scale.0.capacity") { + if metadata.ResourceData.HasChange("sku.0.capacity") { properties.Sku.Capacity = pointer.To(model.Sku[0].Capacity) }