From 78891cfef54cdf3aed1385029601c9617b7a362f Mon Sep 17 00:00:00 2001 From: Chris Marget Date: Thu, 11 Jul 2024 21:40:55 -0400 Subject: [PATCH] update markdowndescription --- apstra/resource_interface_map.go | 4 ++-- docs/resources/interface_map.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/apstra/resource_interface_map.go b/apstra/resource_interface_map.go index 8dd01193..f0fee6fe 100644 --- a/apstra/resource_interface_map.go +++ b/apstra/resource_interface_map.go @@ -72,7 +72,7 @@ func (o *resourceInterfaceMap) Schema(_ context.Context, _ resource.SchemaReques Validators: []validator.String{stringvalidator.LengthAtLeast(1)}, }, "interfaces": schema.SetNestedAttribute{ - MarkdownDescription: "Ordered list of interface mapping info.", + MarkdownDescription: "Set of interface mapping info.", Required: true, Validators: []validator.Set{setvalidator.SizeAtLeast(1)}, NestedObject: schema.NestedAttributeObject{ @@ -80,7 +80,7 @@ func (o *resourceInterfaceMap) Schema(_ context.Context, _ resource.SchemaReques }, }, "unused_interfaces": schema.SetNestedAttribute{ - MarkdownDescription: "Ordered list of interface mapping info for unused interfaces.", + MarkdownDescription: "Set of of interface mapping info detailing unused interfaces.", Computed: true, NestedObject: schema.NestedAttributeObject{ Attributes: rInterfaceMapInterface{}.unusedAttributes(), diff --git a/docs/resources/interface_map.md b/docs/resources/interface_map.md index 9e002ec4..292096d4 100644 --- a/docs/resources/interface_map.md +++ b/docs/resources/interface_map.md @@ -115,14 +115,14 @@ resource "apstra_interface_map" "with_loops" { ### Required - `device_profile_id` (String) ID of Device Profile to be mapped. -- `interfaces` (Attributes Set) Ordered list of interface mapping info. (see [below for nested schema](#nestedatt--interfaces)) +- `interfaces` (Attributes Set) Set of interface mapping info. (see [below for nested schema](#nestedatt--interfaces)) - `logical_device_id` (String) ID of Logical Device to be mapped. - `name` (String) Interface Map name as displayed in the web UI ### Read-Only - `id` (String) Apstra ID number of the Interface Map -- `unused_interfaces` (Attributes Set) Ordered list of interface mapping info for unused interfaces. (see [below for nested schema](#nestedatt--unused_interfaces)) +- `unused_interfaces` (Attributes Set) Set of of interface mapping info detailing unused interfaces. (see [below for nested schema](#nestedatt--unused_interfaces)) ### Nested Schema for `interfaces`