From 9f948639d84c40a107434c176c9d5af97f9a5dee Mon Sep 17 00:00:00 2001 From: Chris Marget Date: Wed, 10 Jul 2024 13:11:24 -0400 Subject: [PATCH] rename `ip_links_ids` attribute to `ip_link_ids` --- apstra/blueprint/connectivity_template_assignments.go | 4 ++-- apstra/blueprint/connectivity_templates_assignment.go | 4 ++-- docs/resources/datacenter_connectivity_template_assignment.md | 2 +- .../resources/datacenter_connectivity_template_assignments.md | 2 +- .../resources/datacenter_connectivity_templates_assignment.md | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/apstra/blueprint/connectivity_template_assignments.go b/apstra/blueprint/connectivity_template_assignments.go index 2c7357df..48a9b784 100644 --- a/apstra/blueprint/connectivity_template_assignments.go +++ b/apstra/blueprint/connectivity_template_assignments.go @@ -22,7 +22,7 @@ type ConnectivityTemplateAssignments struct { ConnectivityTemplateId types.String `tfsdk:"connectivity_template_id"` ApplicationPointIds types.Set `tfsdk:"application_point_ids"` FetchIpLinkIds types.Bool `tfsdk:"fetch_ip_link_ids"` - IpLinkIds types.Map `tfsdk:"ip_links_ids"` + IpLinkIds types.Map `tfsdk:"ip_link_ids"` } func (o ConnectivityTemplateAssignments) ResourceAttributes() map[string]resourceSchema.Attribute { @@ -55,7 +55,7 @@ func (o ConnectivityTemplateAssignments) ResourceAttributes() map[string]resourc "is not needed.", Optional: true, }, - "ip_links_ids": resourceSchema.MapAttribute{ + "ip_link_ids": resourceSchema.MapAttribute{ MarkdownDescription: "New Logical Links are created when Connectivity Templates containing *IP Link* " + "primitives are attached to a switch interface. These logical links may or may not be VLAN-tagged. " + "This attribute is a two-dimensional map. The outer map is keyed by Application Point ID. The inner " + diff --git a/apstra/blueprint/connectivity_templates_assignment.go b/apstra/blueprint/connectivity_templates_assignment.go index 136fd75d..b3934ba5 100644 --- a/apstra/blueprint/connectivity_templates_assignment.go +++ b/apstra/blueprint/connectivity_templates_assignment.go @@ -23,7 +23,7 @@ type ConnectivityTemplatesAssignment struct { ConnectivityTemplateIds types.Set `tfsdk:"connectivity_template_ids"` ApplicationPointId types.String `tfsdk:"application_point_id"` FetchIpLinkIds types.Bool `tfsdk:"fetch_ip_link_ids"` - IpLinkIds types.Map `tfsdk:"ip_links_ids"` + IpLinkIds types.Map `tfsdk:"ip_link_ids"` } func (o ConnectivityTemplatesAssignment) ResourceAttributes() map[string]resourceSchema.Attribute { @@ -56,7 +56,7 @@ func (o ConnectivityTemplatesAssignment) ResourceAttributes() map[string]resourc "is not needed.", Optional: true, }, - "ip_links_ids": resourceSchema.MapAttribute{ + "ip_link_ids": resourceSchema.MapAttribute{ MarkdownDescription: "New Logical Links are created when Connectivity Templates containing *IP Link* " + "primitives are attached to a switch interface. These logical links may or may not be VLAN-tagged. " + "This attribute is a two-dimensional map. The outer map is keyed by Connectivity Template ID. The inner " + diff --git a/docs/resources/datacenter_connectivity_template_assignment.md b/docs/resources/datacenter_connectivity_template_assignment.md index 2122e77b..7275e0d6 100644 --- a/docs/resources/datacenter_connectivity_template_assignment.md +++ b/docs/resources/datacenter_connectivity_template_assignment.md @@ -53,7 +53,7 @@ resource "apstra_datacenter_connectivity_template_assignment" "a" { ### Read-Only -- `ip_links_ids` (Map of Map of String) New Logical Links are created when Connectivity Templates containing *IP Link* primitives are attached to a switch interface. These logical links may or may not be VLAN-tagged. This attribute is a two-dimensional map. The outer map is keyed by Connectivity Template ID. The inner map is keyed by VLAN number. Untagged Logical Links are represented in the inner map by key `0`. +- `ip_link_ids` (Map of Map of String) New Logical Links are created when Connectivity Templates containing *IP Link* primitives are attached to a switch interface. These logical links may or may not be VLAN-tagged. This attribute is a two-dimensional map. The outer map is keyed by Connectivity Template ID. The inner map is keyed by VLAN number. Untagged Logical Links are represented in the inner map by key `0`. **Note:** requires `fetch_iplink_ids = true` diff --git a/docs/resources/datacenter_connectivity_template_assignments.md b/docs/resources/datacenter_connectivity_template_assignments.md index ce39fca0..b3e8c61a 100644 --- a/docs/resources/datacenter_connectivity_template_assignments.md +++ b/docs/resources/datacenter_connectivity_template_assignments.md @@ -51,7 +51,7 @@ resource "apstra_datacenter_connectivity_template_assignments" "a" { ### Read-Only -- `ip_links_ids` (Map of Map of String) New Logical Links are created when Connectivity Templates containing *IP Link* primitives are attached to a switch interface. These logical links may or may not be VLAN-tagged. This attribute is a two-dimensional map. The outer map is keyed by Application Point ID. The inner map is keyed by VLAN number. Untagged Logical Links are represented in the inner map by key `0`. +- `ip_link_ids` (Map of Map of String) New Logical Links are created when Connectivity Templates containing *IP Link* primitives are attached to a switch interface. These logical links may or may not be VLAN-tagged. This attribute is a two-dimensional map. The outer map is keyed by Application Point ID. The inner map is keyed by VLAN number. Untagged Logical Links are represented in the inner map by key `0`. **Note:** requires `fetch_iplink_ids = true` diff --git a/docs/resources/datacenter_connectivity_templates_assignment.md b/docs/resources/datacenter_connectivity_templates_assignment.md index 9ccac903..d477a8ba 100644 --- a/docs/resources/datacenter_connectivity_templates_assignment.md +++ b/docs/resources/datacenter_connectivity_templates_assignment.md @@ -47,7 +47,7 @@ resource "apstra_datacenter_connectivity_template_assignment" "a" { ### Read-Only -- `ip_links_ids` (Map of Map of String) New Logical Links are created when Connectivity Templates containing *IP Link* primitives are attached to a switch interface. These logical links may or may not be VLAN-tagged. This attribute is a two-dimensional map. The outer map is keyed by Connectivity Template ID. The inner map is keyed by VLAN number. Untagged Logical Links are represented in the inner map by key `0`. +- `ip_link_ids` (Map of Map of String) New Logical Links are created when Connectivity Templates containing *IP Link* primitives are attached to a switch interface. These logical links may or may not be VLAN-tagged. This attribute is a two-dimensional map. The outer map is keyed by Connectivity Template ID. The inner map is keyed by VLAN number. Untagged Logical Links are represented in the inner map by key `0`. **Note:** requires `fetch_iplink_ids = true`