From 46ddeea2f6f33fafb706db3379a20187ea3c2ad1 Mon Sep 17 00:00:00 2001 From: Leo Antoli <430982+lantoli@users.noreply.github.com> Date: Thu, 7 Dec 2023 20:51:39 +0100 Subject: [PATCH] fix network migration tests --- .../service/networkcontainer/resource_network_container.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/internal/service/networkcontainer/resource_network_container.go b/internal/service/networkcontainer/resource_network_container.go index 7a7a8dcd82..985880df1e 100644 --- a/internal/service/networkcontainer/resource_network_container.go +++ b/internal/service/networkcontainer/resource_network_container.go @@ -91,8 +91,10 @@ func Resource() *schema.Resource { Computed: true, }, "regions": { - Type: schema.TypeList, - Optional: true, + Type: schema.TypeList, + Optional: true, + Computed: true, + ConfigMode: schema.SchemaConfigModeAttr, Elem: &schema.Schema{ Type: schema.TypeString, },