diff --git a/apstra/resource_logical_device.go b/apstra/resource_logical_device.go index c5475c42..1ddf6b7b 100644 --- a/apstra/resource_logical_device.go +++ b/apstra/resource_logical_device.go @@ -41,7 +41,9 @@ func (o *resourceLogicalDevice) ValidateConfig(ctx context.Context, req resource return } - // extract []LogicalDevicePanel from the resourceLogicalDevice + if config.Panels.IsUnknown() { + return // cannot validate unknown panels + } panels := config.GetPanels(ctx, &resp.Diagnostics) if resp.Diagnostics.HasError() { return