Data source apstra_datacenter_blueprint_system_nodes
#59
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 introduces
data.apstra_datacenter_blueprint_system_nodes
.Config schema:
Any combination of
filter
elements can be supplied, except for an emptyfilter
block (omit the block altogether).The following outputs are available:
ids
is the set of graph db node IDs oftype = 'system'
nodes which matched the filters.query_string
is the graph query generated based on the filters which can be used in the graph explorer for debugging.This PR introduces
data.apstra_datacenter_blueprint_system_node
.Config schema:
The following outputs are available:
This PR required the breaking changes in
apstra_go_sdk
#20. Many of the changes to old code reorganize the query operations around those changes.I wrote tests for the
apstra_datacenter_blueprint_system_nodes
data source, but they won't run because the test framework insists that the schema have anid
field. I'm not sure what to do about that right now.Tests for the
apstra_datacenter_blueprint_system_node
data source pass on 4.1.0, 4.1.1 and 4.1.2.