From 59f4f6820b2f9b31e30e5655bc42e0338c0f7f45 Mon Sep 17 00:00:00 2001 From: Chris Marget Date: Thu, 19 Dec 2024 21:31:51 -0500 Subject: [PATCH] fix markdown text --- apstra/blueprint/datacenter_routing_zone.go | 4 ++-- docs/data-sources/datacenter_routing_zone.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/apstra/blueprint/datacenter_routing_zone.go b/apstra/blueprint/datacenter_routing_zone.go index 751c0b4c..c13d490e 100644 --- a/apstra/blueprint/datacenter_routing_zone.go +++ b/apstra/blueprint/datacenter_routing_zone.go @@ -57,12 +57,12 @@ func (o DatacenterRoutingZone) DataSourceAttributes() map[string]dataSourceSchem }, }, "blueprint_id": dataSourceSchema.StringAttribute{ - MarkdownDescription: "Apstra Blueprint ID. Required when `id` is omitted.", + MarkdownDescription: "Apstra Blueprint ID.", Required: true, Validators: []validator.String{stringvalidator.LengthAtLeast(1)}, }, "name": dataSourceSchema.StringAttribute{ - MarkdownDescription: "Name displayed in the Apstra web UI.", + MarkdownDescription: "Name displayed in the Apstra web UI. Required when `id` is omitted.", Computed: true, Optional: true, Validators: []validator.String{ diff --git a/docs/data-sources/datacenter_routing_zone.md b/docs/data-sources/datacenter_routing_zone.md index 73f6bb6f..f80d4964 100644 --- a/docs/data-sources/datacenter_routing_zone.md +++ b/docs/data-sources/datacenter_routing_zone.md @@ -54,12 +54,12 @@ output "routing_zone" { ### Required -- `blueprint_id` (String) Apstra Blueprint ID. Required when `id` is omitted. +- `blueprint_id` (String) Apstra Blueprint ID. ### Optional - `id` (String) Apstra graph node ID. Required when `name` is omitted. -- `name` (String) Name displayed in the Apstra web UI. +- `name` (String) Name displayed in the Apstra web UI. Required when `id` is omitted. ### Read-Only