From 0655c4a30f627f7b97aefafe89eb51f8e750b9a0 Mon Sep 17 00:00:00 2001 From: Ignacio Anaya Date: Fri, 17 Jan 2025 11:57:35 -0300 Subject: [PATCH] fix: remove compute from node_group zones/locations --- internal/provider/common/attributes.go | 1 - internal/provider/env/hcloud/schema.go | 1 - 2 files changed, 2 deletions(-) diff --git a/internal/provider/common/attributes.go b/internal/provider/common/attributes.go index e2fdd25..56a2b54 100644 --- a/internal/provider/common/attributes.go +++ b/internal/provider/common/attributes.go @@ -344,7 +344,6 @@ var NodeGroupAttribute = rschema.NestedAttributeObject{ "zones": rschema.ListAttribute{ ElementType: types.StringType, Optional: true, - Computed: true, MarkdownDescription: NODE_GROUP_ZONES_DESCRIPTION, Validators: []validator.List{ listvalidator.SizeAtLeast(1), diff --git a/internal/provider/env/hcloud/schema.go b/internal/provider/env/hcloud/schema.go index 0d396db..0ec8a1f 100644 --- a/internal/provider/env/hcloud/schema.go +++ b/internal/provider/env/hcloud/schema.go @@ -186,7 +186,6 @@ var nodeGroupAttribute = rschema.NestedAttributeObject{ "locations": rschema.ListAttribute{ ElementType: types.StringType, Optional: true, - Computed: true, MarkdownDescription: common.NODE_GROUP_ZONES_DESCRIPTION, Validators: []validator.List{ listvalidator.SizeAtLeast(1),