Skip to content

Releases: e-breuninger/terraform-provider-netbox

v3.5.1

24 Jul 17:20
b02c41b
Compare
Choose a tag to compare

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

20 Jul 20:03
fc7f02d
Compare
Choose a tag to compare

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 with virtual_machine_interface_id if object_type is currently unset or set to virtualization.vminterface
  • replace interface_id with device_interface_id if object_type is currently set to dcim.interface

ENHANCEMENTS

  • resource/netbox_ip_address: Add virtual_machine_interface_id and device_interface_id attributes
  • resource/netbox_ip_address: Add slaac to the list of valid statuses
  • resource/netbox_ip_address: Add nat_inside_address_id and nat_outside_addresses attributes

BUG FIXES

  • resource/netbox_permission: Fix perpetual drift when constraints is nil #432 by @tagur87

v3.4.1

19 Jul 20:25
6261a48
Compare
Choose a tag to compare

3.4.1 (July 19th, 2023)

ENHANCEMENTS

BUG FIXES

  • resource/netbox_virtual_machine: Fix local_context_data attribute (#430 by @zeddD1abl0)

v3.4.0

10 Jul 10:40
0a3a93d
Compare
Choose a tag to compare

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

28 Jun 19:17
e4ffff3
Compare
Choose a tag to compare

3.3.3 (June 28th, 2023)

ENHANCEMENTS

  • New Data Source: netbox_vlans (#420 by @danischm)
  • resource/netbox_contact_assignment: Add priority attribute (#418 by @Ikke)

v3.3.2

12 Jun 10:17
efacaa4
Compare
Choose a tag to compare

3.3.2 (June 12th, 2023)

ENHANCEMENTS

  • New Data Source: netbox_contact_role (#414 by @Ikke)

v3.3.1

31 May 09:03
ecebc4d
Compare
Choose a tag to compare

3.3.1 (May 31th, 2023)

ENHANCEMENTS

  • data-source/netbox_prefixes: Allow filtering by site_id (#397 by @tagur87)
  • data-source/netbox_ip_addresses: Add tags attributes to output (#406 by @pier-nl)
  • Improved error handling for tags (#400 by @tagur87)

v3.3.0

07 May 22:03
6434dee
Compare
Choose a tag to compare

3.3.0 (May 7th, 2023)

ENHANCEMENTS

BUG FIXES

  • resource/netbox_prefix: Allow unsetting description attribute (#382 by @DevOpsFu)

v3.2.1

27 Apr 18:22
85674c4
Compare
Choose a tag to compare

3.2.1 (April 27th, 2023)

ENHANCEMENTS

BUG FIXES

  • data-source/netbox_prefixes: Fix error when filtering by vlan_vid (#381 by @zeddD1abl0)

v3.2.0

26 Mar 21:39
Compare
Choose a tag to compare

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 and rack_position attributes (#358 by @joeyberkovitz)
  • data-source/netbox_device: Add rack_face, rack_id and rack_position attributes (#358 by @joeyberkovitz)
  • data-source/netbox_prefixes: Add support for filtering by status and tag (#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)