From caf828c2ad441fbd153bb0e0459ff402c16e74d7 Mon Sep 17 00:00:00 2001 From: Katarzyna Kujawa Date: Tue, 12 Nov 2024 10:57:41 +0100 Subject: [PATCH] Fix tests --- castai/data_source_resource_rebalancing_schedule.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/castai/data_source_resource_rebalancing_schedule.go b/castai/data_source_resource_rebalancing_schedule.go index 7676ab62..00138d88 100644 --- a/castai/data_source_resource_rebalancing_schedule.go +++ b/castai/data_source_resource_rebalancing_schedule.go @@ -23,6 +23,8 @@ func dataSourceRebalancingSchedule() *schema.Resource { // other parameters are "computed" from existing rebalancing schedule dataSourceRebalancingSchedule.Schema[key].Computed = true dataSourceRebalancingSchedule.Schema[key].Required = false + // MaxItems is for configurable attributes, there's nothing to configure on computed-only field + dataSourceRebalancingSchedule.Schema[key].MaxItems = 0 } } return dataSourceRebalancingSchedule