generated from hashicorp/terraform-provider-scaffolding
-
Notifications
You must be signed in to change notification settings - Fork 175
Open
Description
Hi,
The site_id field in vlans is noted deprecated by new versions of netbox:
This gives me a problem, as I like to receive all vlans of a site for provisioning of devices.
But since there is no netbox_vlan_groupS datasource, I cannot traverse anymore from site_id to a list of vlans once this change occurs.
Solution to this would be to add a netbox_vlan_groups datasource, much like the netbox_vlans, who returns a list of matching groups.
Secondly (while at the vlan code), netbox_vlan_group (single) datasource would really benefit from a id filter input, because the netbox_vlans returns the group_id (and not the name). So currently there is no way to work back the relations.
output of netbox_vlans:
[{
description = "IPMI/DRAC/ILO Management Interfaces"
group_id = 6
name = "ipmi"
role = 6
site = 1
status = "active"
tag_ids = [
11,
]
tenant = 1
vid = 1104
}]
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels