Releases: e-breuninger/terraform-provider-netbox
v3.5.1
3.5.1 (July 24th, 2023)
BUG FIXES
- resource/netbox_ip_address: Use correct attribute when using the
device_interface_id
attribute (#437 by @switchcorp) - resource/netbox_primary_ip: Fix a bug where setting a primary IP unsets the
local_context_data
attribute (#435 by @tagur87)
v3.5.0
3.5.0 (July 20th, 2023)
BREAKING CHANGES
Historically, this provider primarily handled virtual machines, so when linking a netbox_ip_address
resource to an interface, the interface was initially assumed to always be a virtual machine interface. In v3.1.0, support was added for device interfaces by setting the newly introduced object_type
attribute, once again defaulting to virtual machine interfaces. The valid values for object_type
directly reflect the API values of NetBox, which are very unintuitive.
In this version, we make the type of connection between IP addresses and interfaces explicit: We introduce two new attributes: virtual_machine_interface_id
and device_interface_id
to the netbox_ip_address
resource. These fields are easier to use and convey their meaning directly to the user. The object_type
and interface_id
method is still supported, but object_type
no longer has a default value and is now mandatory when interface_id
is used.
Migration guide
In your existing codebase:
- replace
interface_id
withvirtual_machine_interface_id
ifobject_type
is currently unset or set tovirtualization.vminterface
- replace
interface_id
withdevice_interface_id
ifobject_type
is currently set todcim.interface
ENHANCEMENTS
- resource/netbox_ip_address: Add
virtual_machine_interface_id
anddevice_interface_id
attributes - resource/netbox_ip_address: Add
slaac
to the list of valid statuses - resource/netbox_ip_address: Add
nat_inside_address_id
andnat_outside_addresses
attributes
BUG FIXES
v3.4.1
3.4.1 (July 19th, 2023)
ENHANCEMENTS
- resource/netbox_cluster: Add
comments
attribute #429 by @edwin-bruurs - data-source/netbox_prefix: Add
family
attribute #431 by @tagur87
BUG FIXES
- resource/netbox_virtual_machine: Fix
local_context_data
attribute (#430 by @zeddD1abl0)
v3.4.0
3.4.0 (July 10th, 2023)
ENHANCEMENTS
- New Resource:
netbox_device_primary_ip
#424 by @Ikke - resource/netbox_virtual_machine: Add
local_context_data
attribute (#421 by @zeddD1abl0)
BUG FIXES
- resource/netbox_primary_ip: Fix a bug where setting the primary ip of a VM unsets the device id
v3.3.3
v3.3.2
v3.3.1
v3.3.0
3.3.0 (May 7th, 2023)
ENHANCEMENTS
- New Resource:
netbox_permission
(#390 by @tagur87) - New Resource:
netbox_contact_group
(#366 by @leasley199) - New Data Source:
netbox_contact_group
(#366 by @leasley199) - New Data Source:
netbox_contact
(#366 by @leasley199) - data-source/netbox_cluster: Allow searching by
site_id
BUG FIXES
v3.2.1
3.2.1 (April 27th, 2023)
ENHANCEMENTS
- New Resource:
netbox_vlan_group
(#377 by @zeddD1abl0) - New Data Source:
netbox_vlan_group
(#377 by @zeddD1abl0) - resource/netbox_vlan: Add
group_id
attribute (#377 by @zeddD1abl0)
BUG FIXES
- data-source/netbox_prefixes: Fix error when filtering by
vlan_vid
(#381 by @zeddD1abl0)
v3.2.0
3.2.0 (March 26th, 2023)
ENHANCEMENTS
- New Resource:
netbox_route_target
(#344 by @imdhruva) - New Resource:
netbox_rack
(#358 by @joeyberkovitz) - New Resource:
netbox_rack_reservation
(#358 by @joeyberkovitz) - New Resource:
netbox_rack_role
(#358 by @joeyberkovitz) - New Data Source:
netbox_ipam_role
(#344 by @imdhruva) - New Data Source:
netbox_route_target
(#344 by @imdhruva) - New Data Source:
netbox_racks
(#358 by @joeyberkovitz) - New Data Source:
netbox_rack_role
(#358 by @joeyberkovitz) - resource/netbox_device: Add
rack_face
,rack_id
andrack_position
attributes (#358 by @joeyberkovitz) - data-source/netbox_device: Add
rack_face
,rack_id
andrack_position
attributes (#358 by @joeyberkovitz) - data-source/netbox_prefixes: Add support for filtering by
status
andtag
(#367 by @kyle-burnett) - resource/netbox_location: Add
description
attribute - resource/netbox_rir: Add
description
attribute - resource/netbox_vrf: Add
description
attribute - data-source/netbox_prefixes: Include
description
attribute in search results - data-source/netbox_ip_addresses: Add
limit
attribute (default 1000)