Skip to content

Latest commit

 

History

History
904 lines (527 loc) · 46.7 KB

CHANGELOG.md

File metadata and controls

904 lines (527 loc) · 46.7 KB

3.7.1 (September 25th, 2023)

ENHANCEMENTS

  • New Data Source: netbox_device_interfaces (#476 by @w87x)
  • resource/netbox_token: Add description attribute (#473 by @twink0r)
  • data-source/netbox_virtual_machines: Include device_id and device_name attributes in result (#477 by @zeddD1abl0)

3.7.0 (September 14th, 2023)

BREAKING CHANGES

  • resource/netbox_custom_field: Replace choices attribute with choice_set_id attribute

ENHANCEMENTS

  • provider: Now officially supports NetBox 3.6
  • New Resource: netbox_custom_field_choice_set

3.6.2 (September 14th, 2023)

FEATURES

  • New Data Source: netbox_location (#467 by @w87x)
  • data-source/netbox_virtual_machines: Allow searching by tag (#466 by @twink0r)
  • resource/netbox_device: Add asset_tag attribute (#470 by @bebehei)
  • resource/netbox_device_interface: Add speed, lag_device_interface_id and parent_device_interface_id attributes (#469 by @bebehei)

BUG FIXES

  • resource/netbox_custom_field: Allow correct value json instead of JSON (#459 by @menselman)

3.6.1 (August 31th, 2023)

FEATURES

3.6.0 (August 18th, 2023)

BREAKING CHANGES Due to a change in NetBox 3.5's behavior regarding ASN and the corresponding required changes in the go library that is used in this provider, the netbox_asn resource and the netbox_asns data source are no longer supported in versions older than 3.5. For all other resources and data sources, the provider should still perform fine with older NetBox versions.

ENHANCEMENTS

  • provider: Now officially supports NetBox 3.5

3.5.5 (August 18th, 2023)

ENHANCEMENTS

  • data-source/netbox_cluster: Allow searching by id field and include custom_fields attribute in output (#457 by @fred-clement-91)

BUG FIXES

  • resource/netbox_device_interface: Changing mac_address no longer needlessly forces a recreate of the resource (#454 by @hamzazaman)

3.5.4 (August 7th, 2023)

FEATURES

3.5.3 (August 4th, 2023)

ENHANCEMENTS

  • resource/netbox_service: Add custom_fields attribute (#448 by @sebastianreloaded)
  • data-source/netbox_site: Allow searching by id field

BUG FIXES

  • resource/netbox_interface: Allow setting enabled to false
  • resource/netbox_device_interface: Allow setting enabled to false

3.5.2 (August 3rd, 2023)

FEATURES

ENHANCEMENTS

  • Added description attribute to
    • data-source/netbox_cluster
    • data-source/netbox_devices
    • data-source/netbox_virtual_machines
    • resource/netbox_cluster
    • resource/netbox_device
    • resource/virtual_machine (#401 by @tagur87)
  • data-source/netbox_devices: Return tags attribute
  • resource/netbox_interface: Ignore drift when providing lowercase MAC addresses (#446 by @bebehei)
  • resource/netbox_device_interface: Ignore drift when providing lowercase MAC addresses (#446 by @bebehei)

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)

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)

3.4.1 (July 19th, 2023)

ENHANCEMENTS

BUG FIXES

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

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

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)

3.3.2 (June 12th, 2023)

ENHANCEMENTS

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

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)

3.3.0 (May 7th, 2023)

ENHANCEMENTS

BUG FIXES

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

3.2.1 (April 27th, 2023)

ENHANCEMENTS

BUG FIXES

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

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)

3.1.0 (February 19th, 2023)

CHANGES

  • provider: slug fields are now generated to match the netbox GUI behavior

ENHANCEMENTS

  • resource/netbox_interface: Updating mac_address no longer forces resource recreation (#336 by @johann8384)
  • resource/netbox_site: Add physical_address and shipping_address (#337 by @Ikke)
  • resource/netbox_ip_address: IP addresses can now be assigned to devices via the object_type field (#341 by @arjenvri)

3.0.13 (January 24th, 2023)

ENHANCEMENTS

  • data-source/netbox_prefix: Add site_id attribute (#320 by @TGM)

3.0.12 (January 3rd, 2023)

ENHANCEMENTS

  • resource/netbox_token: Add write_enabled attribute (#309 by @keshy7)
  • data-source/netbox_interfaces: The resulting interfaces now have their interface ID set

BUG FIXES

  • resource/site: Allow unsetting description attribute (#314 by @keshy7)
  • resource/site: Set max length of the slug attribute to 100 (#317 by @keshy7)

3.0.11 (December 13th, 2022)

ENHANCEMENTS

  • resource/netbox_available_ip_address: Add role attribute

BUG FIXES

  • resource/netbox_location: Fix updates of the site_id attribute (#307 by @nneul)

3.0.10 (November 24th, 2022)

ENHANCEMENTS

  • provider: Add strip_trailing_slashes_from_url attribute

BUG FIXES

  • data-source/netbox_region: Use correct field for slug attribute (#302 by @paulexyz)

3.0.9 (November 17th, 2022)

ENHANCEMENTS

  • data-source/netbox_vlan: Allow querying by group_id, role and tenant (#287 by @tstarck)
  • data-source/netbox_prefix: Allow querying by description (#298 by @luispcoutinho)

3.0.8 (November 9th, 2022)

ENHANCEMENTS

BUG FIXES

  • data-source/netbox_prefixes: Fix kernel panic when finding prefixes without vlan or vrf

3.0.7 (November 3rd, 2022)

ENHANCEMENTS

  • New Resource: netbox_contact_role (#279 by @arjenvri)
  • New Resource: netbox_contact_assignment (#279 by @arjenvri)
  • resource/netbox_device: Add primary_ipv6 attribute (#282 by @arjenvri)
  • resource/netbox_virtual_machine: Add primary_ipv6 attribute (#283 by @arjenvri)
  • resource/netbox_custom_field: Add group_name atribute (#280 by @arjenvri)

3.0.6 (October 21st, 2022)

ENHANCEMENTS

  • New Resource: netbox_contact (#273 by @arjenvri)
  • data-source/netbox_prefix: Add description attribute (#277 by @holmesb)
  • resource/netbox_cluster: Add tenant_id attribute (#275 by @arjenvri)

3.0.5 (October 18th, 2022)

ENHANCEMENTS

  • resource/netbox_device_role: Add tags attribute (#269 by @hollow)
  • data-source/netbox_device_role: Add tags attribute (#269 by @hollow)

CHANGES

  • resource/netbox_service: Implement provider-side validation on allowed values. Valid values are tcp, udp and sctp.

3.0.4 (October 11th, 2022)

ENHANCEMENTS

  • resource/netbox_device: Add platform_id attribute (#264 by @mifrost)
  • New Data Source: netbox_prefixes (#253 by @ironashram)
  • data-source/netbox_prefix: Add prefix, status, vlan_id, vlan_vid attributes (#253 by @ironashram)
  • resource/netbox_device: Add status attribute #266 by @mifrost)

CHANGES

  • resource/netbox_prefix: Deprecate cidr attribute in favor of new canonical prefix attribute

3.0.3 (October 4th, 2022)

ENHANCEMENTS

  • resource/netbox_site: Add group_id attribute (#255 by @arjenvri)

3.0.2 (September 30th, 2022)

ENHANCEMENTS

  • data-source/netbox_cluster: Add site_id, cluster_type_id, cluster_group_id and tags attribute (#251 by @ns1pelle)

3.0.1 (September 25th, 2022)

This is a re-release of 3.0.0 because there seem to be some issues with the checksums in the 3.0.0 version.

3.0.0 (September 23th, 2022)

FEATURES

  • provider: Now supports NetBox v3.3

ENHANCEMENTS

  • resource/netbox_virtual_machine: In accordance with upstream API changes, VMs can now have site_id set directly
  • resource/netbox_virtual_machine: Add device_id attribute (#238 by @ns1pelle)
  • resource/netbox_circuit_termination: Add tags and custom_fields attributes (#238 by @ns1pelle)
  • resource/netbox_token: Add allowed_ips, last_used and expires attributes (#238 by @ns1pelle)
  • resource/netbox_device: Add cluster_id attribute (#238 by @ns1pelle)

2.0.7 (September 23th, 2022)

ENHANCEMENTS

  • New Data Source: netbox_devices (#236 by @dipeshsharma)
  • provider: Add request_timeout attribute (#227 by @twink0r)
  • data-source/netbox_tenants: Add limit attribute to allow for larger queries

2.0.6 (September 9th, 2022)

ENHANCEMENTS

  • New Resource: netbox_site_group
  • New Data Source: netbox_site_group
  • resource/netbox_virtual_machine: Add status attribute. The status attribute will default to active, which matches the implicit behavior of NetBox. If you manually changed the status of your terraform-managed NetBox VMs, be cautious
  • data-source/netbox_tenant: Allow searching by slug attribute

2.0.5 (August 10th, 2022)

ENHANCEMENTS

  • provider: Update list of supported versions
  • docs: Add all missing docs and update existing ones
  • docs: Add subcategories

2.0.4 (August 1st, 2022)

ENHANCEMENTS

  • resource/netbox_ip_address: Add role attribute
  • resource/netbox_available_ip_address: improve documentation (#220 by @holmesb)

BUG FIXES

  • resource/netbox_device: Set correct attribute for device_type_id (#219 by @BegBlev)
  • data-source/netbox_ip_addresses: Use correct attribute for role (#217 by @twink0r)

2.0.3 (July 8th, 2022)

ENHANCEMENTS

  • data-source/netbox_prefix: Add vrf_id attribute

BUG FIXES

  • resource/netbox_prefix: Allow unsetting mark_utilized and is_pool attributes
  • resource/netbox_available_prefix: Allow unsetting mark_utilized and is_pool attributes

2.0.2 (July 6th, 2022)

BUG FIXES

  • resource/netbox_device: Make role_id and site_id attributes mandatory
  • resource/netbox_device_type: Make manufacturer_id attribute mandatory

2.0.1 (June 25th, 2022)

ENHANCEMENTS

2.0.0 (June 16th, 2022)

BREAKING CHANGES NetBox 3.2.0 came with breaking changes. In accordance with the upstream API, the netbox_site resource and data source now have an asn_ids attribute that replaces the asn attriute. Note that asn_ids contains IDs of ASN objects, not numbers.

ENHANCEMENTS

  • New Resource: netbox_asn

1.6.7 (June 14th, 2022)

ENHANCEMENTS

  • resource/netbox_site: Make status attribute optional and default to active (#187 by @tstarck)
  • data-source/netbox_site: Add slug parameter to allow searching for a slug (#187 by @tstarck)
  • data-source/netbox_site: Include asn, slug, comments, description, group_id, status, region_id, tenant_id and time_zone attributes in the search result (#187 by @tstarck)
  • resource/netbox_vlan: Add default values to status and description attributes (#184 by @tstarck)
  • resource/netbox_interface: Add enabled, mtu, mode, tagged_vlans and untagged_vlans attributes (#183 by @tstarck)

1.6.6 (May 27th, 2022)

ENHANCEMENTS

  • New Data Source: netbox_device_type (#179 by @tstarck)
  • New Data Source: netbox_vlan (#180 by @tstarck)
  • provider: Add skip_version_check attribute
  • provider: Update list of officially supported versions
  • resource/netbox_device_type: Add part_number attribute (#179 by @tstarck)

BUG FIXES

  • resource/netbox_circuit: Fix bug that prevented updates from being made
  • resource/netbox_circuit_provider: Fix bug that prevented updates from being made

1.6.5 (May 18th, 2022)

ENHANCEMENTS

  • docs: Fix critical error in usage documentation

1.6.4 (May 18th, 2022)

FEATURES

ENHANCEMENTS

  • resource/netbox_site: Add timezone, latitude, longitude and custom_fields attributes (#168 by @arjenvri)
  • docs: Regenerate docs with updated tooling (#165 by @d-strobel)

1.6.3 (May 6th, 2022)

FEATURES

ENHANCEMENTS

  • resource/netbox_ip_address: Add description attribute (#156 by @fbreckle)
  • resource/netbox_virtual_machine: Add custom_fields attribute (#158 by @chapsuk)

1.6.2 (Apr 11, 2022)

FEATURES

1.6.1 (Apr 8, 2022)

ENHANCEMENTS

  • resource/netbox_site: Add tags and tenant_id attributes (#149 by @arjenvri)

1.6.0 (Apr 8, 2022)

FEATURES

1.5.2 (Mar 4, 2022)

ENHANCEMENTS

  • data-source/netbox_tenants: Add tenant_group attribute (#129 by @twink0r)

1.5.1 (Feb 24, 2022)

ENHANCEMENTS

  • No longer crashes if netbox is unreachable when initialising the provider #126 by @twink0r

1.5.0 (Feb 23, 2022)

FEATURES

1.4.0 (Feb 21, 2022)

FEATURES

1.3.0 (Feb 17, 2022)

FEATURES

1.2.2 (Feb 9, 2022)

ENHANCEMENTS

  • resource/netbox_virtual_machine: Now has a state migration for the vcpus attribute (#120 by @pascal-hofmann)

1.2.1 (Jan 31, 2022)

FEATURES

  • provider: Can now optionally pass custom HTTP headers for every request (#116 by @mariuskiessling)

1.2.0 (Jan 20, 2022)

FEATURES

  • resource/netbox_available_ip_address: Can now be created in netbox_ip_ranges (#106 by @holmesb)

ENHANCEMENTS

  • resource/netbox_available_ip_address: fixed duplicates #59 (#106 by @holmesb)
  • resource/netbox_available_ip_address: Add description argument (#106 by @holmesb)
  • resource/netbox_available_ip_address: status argument is now optional (#106 by @holmesb)
  • resource/netbox_vrf: Add tenant_id attribute (#112 by @cova-fe)
  • data-source/netbox_vrf: Add tenant_id attribute (#112 by @cova-fe)
  • resource/available_prefix: Add mark_utilized attribute (#111 by @cova-fe)

1.1.0 (Jan 3, 2022)

FEATURES

  • provider: Now supports NetBox v3.1.3

1.0.2 Ho-Ho-Ho (Dec 24, 2021)

ENHANCEMENTS

  • resource/tag: Add description attribute (#98) by @lu1as)

1.0.1 (Dec 23, 2021)

FEATURES

1.0.0 (Nov 8, 2021)

FEATURES

  • provider: Now supports NetBox v3.0.9

BREAKING CHANGES

  • resource/virtual_machine: vcpus is now a float to match upstream API

0.3.2 (Nov 2, 2021)

ENHANCEMENTS

  • resource/primary_ip: Support both v4 and v6 primary IP (#87 by @t-tran)

0.3.1 (Oct 27, 2021)

FEATURES

ENHANCEMENTS

  • resource/prefix: Add site_id, vlan_id and role_id attributes (#85 and #85) by @Sanverik)

0.3.0 (Oct 19, 2021)

FEATURES

  • provider: Now supports NetBox v2.11.12

BREAKING CHANGES

  • resource/virtual_machine: vcpus is now a string to match upstream API

0.2.5 (Oct 8, 2021)

ENHANCEMENTS

  • New Resource: netbox_site (#78)

BUG FIXES

  • resource/cluster: Properly set tags when updating (#69)

0.2.4 (Sep 20, 2021)

CHANGES

  • Use go 1.17 to fix some builds

0.2.3 (Sep 20, 2021)

ENHANCEMENTS

0.2.2 (Aug 23, 2021)

ENHANCEMENTS

  • resource/interface: Add mac_address attribute (#65 by @holmesb)

0.2.1 (Jul 26, 2021)

ENHANCEMENTS

BUG FIXES

0.2.0 (May 31, 2021)

FEATURES

  • provider: Now supports NetBox v2.10.10

CHANGES

  • resource/service: port field is now deprecated in favor of ports field.

0.1.3 (May 17, 2021)

ENHANCEMENTS

  • New Resource: netbox_tenant_group (#48 by @pezhore)
  • New Data Source: netbox_tenant_group (#48 by @pezhore)
  • data-source/tenant: Add group_id attribute (#48 by @pezhore)

1.5.1 (Feb 24, 2022)

ENHANCEMENTS

  • No longer crashes if netbox is unreachable when initialising the provider #126 by @twink0r

1.5.0 (Feb 23, 2022)

FEATURES

1.4.0 (Feb 21, 2022)

FEATURES

1.3.0 (Feb 17, 2022)

FEATURES

1.2.2 (Feb 9, 2022)

ENHANCEMENTS

  • resource/netbox_virtual_machine: Now has a state migration for the vcpus attribute (#120 by @pascal-hofmann)

1.2.1 (Jan 31, 2022)

FEATURES

  • provider: Can now optionally pass custom HTTP headers for every request (#116 by @mariuskiessling)

1.2.0 (Jan 20, 2022)

FEATURES

  • resource/netbox_available_ip_address: Can now be created in netbox_ip_ranges (#106 by @holmesb)

ENHANCEMENTS

  • resource/netbox_available_ip_address: fixed duplicates #59 (#106 by @holmesb)
  • resource/netbox_available_ip_address: Add description argument (#106 by @holmesb)
  • resource/netbox_available_ip_address: status argument is now optional (#106 by @holmesb)
  • resource/netbox_vrf: Add tenant_id attribute (#112 by @cova-fe)
  • data-source/netbox_vrf: Add tenant_id attribute (#112 by @cova-fe)
  • resource/available_prefix: Add mark_utilized attribute (#111 by @cova-fe)

1.1.0 (Jan 3, 2022)

FEATURES

  • provider: Now supports NetBox v3.1.3

1.0.2 Ho-Ho-Ho (Dec 24, 2021)

ENHANCEMENTS

  • resource/tag: Add description attribute (#98) by @lu1as)

1.0.1 (Dec 23, 2021)

FEATURES

1.0.0 (Nov 8, 2021)

FEATURES

  • provider: Now supports NetBox v3.0.9

BREAKING CHANGES

  • resource/virtual_machine: vcpus is now a float to match upstream API

0.3.2 (Nov 2, 2021)

ENHANCEMENTS

  • resource/primary_ip: Support both v4 and v6 primary IP (#87 by @t-tran)

0.3.1 (Oct 27, 2021)

FEATURES

ENHANCEMENTS

  • resource/prefix: Add site_id, vlan_id and role_id attributes (#85 and #85) by @Sanverik)

0.3.0 (Oct 19, 2021)

FEATURES

  • provider: Now supports NetBox v2.11.12

BREAKING CHANGES

  • resource/virtual_machine: vcpus is now a string to match upstream API

0.2.5 (Oct 8, 2021)

ENHANCEMENTS

  • New Resource: netbox_site (#78)

BUG FIXES

  • resource/cluster: Properly set tags when updating (#69)

0.2.4 (Sep 20, 2021)

CHANGES

  • Use go 1.17 to fix some builds

0.2.3 (Sep 20, 2021)

ENHANCEMENTS

0.2.2 (Aug 23, 2021)

ENHANCEMENTS

  • resource/interface: Add mac_address attribute (#65 by @holmesb)

0.2.1 (Jul 26, 2021)

ENHANCEMENTS

BUG FIXES

0.2.0 (May 31, 2021)

FEATURES

  • provider: Now supports NetBox v2.10.10

CHANGES

  • resource/service: port field is now deprecated in favor of ports field.

0.1.3 (May 17, 2021)

ENHANCEMENTS

0.1.2 (May 4, 2021)

ENHANCEMENTS

0.1.1 (February 15, 2021)

ENHANCEMENTS

  • data-source/netbox_virtual_machines: Add limit attribute (#33 by @jake2184)

0.1.0 Ho-Ho-Ho (December 24, 2020)

FEATURES

  • New Resource: netbox_vrf (#26 by @rthomson)
  • New Data Source: netbox_vrf (#26 by @rthomson)
  • New Resource: netbox_cluster_group
  • New Data Source: netbox_cluster_group

ENHANCEMENTS

  • resource/netbox_ip_address: Add tenant_id attribute
  • resource/netbox_cluster: Add cluster_group_id attribute

0.0.9 (November 20, 2020)

FEATURES

BUG FIXES

  • provider: Honor Sub-Paths in netbox URL (#15 by @kasimon)

0.0.8 (November 19, 2020)

FEATURES

  • New Data Source: netbox_virtual_machines (#8 by @jake2184)