Add link_ids
read-only attribute to apstra_datacenter_connectivity_template_assignments
and apstra_datacenter_connectivity_templates_assignment
resources
#701
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR adds two new attributes to these resources:
apstra_datacenter_connectivity_template_assignments
apstra_datacenter_connectivity_templates_assignment
The attributes are:
fetch_ip_link_ids
(Optional, boolean)ip_links_ids
(Computed, 2-dimensional map)fetch_ip_link_ids
controls whether we perform the necessary queries to populateip_link_ids
. It is expected thatip_link_ids
will be required infrequently. By not fetching this data when it's not needed,apply
time can be reduced.the
ip_link_ids
is a two-dimensional map for both resources: ID -> VLAN (string) -> Link IDapstra_datacenter_connectivity_template_assignments
) or connectivity template (in the case ofapstra_datacenter_connectivity_templates_assignment
)logical_link
type link nodes created by assigning a CT containing IP Link CT primitives.