From 72b4db070d7df068b3d481e03d10ddf4ea702d23 Mon Sep 17 00:00:00 2001 From: Leo Antoli <430982+lantoli@users.noreply.github.com> Date: Wed, 18 Dec 2024 07:43:41 +0100 Subject: [PATCH] allow null value in Labels and Tags --- .../advancedclustertpf/model_to_ClusterDescription20240805.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/service/advancedclustertpf/model_to_ClusterDescription20240805.go b/internal/service/advancedclustertpf/model_to_ClusterDescription20240805.go index 7c37051c6b..a0bf99fc5a 100644 --- a/internal/service/advancedclustertpf/model_to_ClusterDescription20240805.go +++ b/internal/service/advancedclustertpf/model_to_ClusterDescription20240805.go @@ -61,7 +61,7 @@ func newBiConnector(ctx context.Context, input types.Object, diags *diag.Diagnos } } func newComponentLabel(ctx context.Context, input types.Set, diags *diag.Diagnostics) *[]admin.ComponentLabel { - if input.IsUnknown() || input.IsNull() { + if input.IsUnknown() { return nil } elements := make([]TFLabelsModel, len(input.Elements())) @@ -110,7 +110,7 @@ func resolveZoneNameOrUseDefault(item *TFReplicationSpecsModel) string { } func newResourceTag(ctx context.Context, input types.Set, diags *diag.Diagnostics) *[]admin.ResourceTag { - if input.IsUnknown() || input.IsNull() { + if input.IsUnknown() { return nil } elements := make([]TFTagsModel, len(input.Elements()))