BUG FIXES:
- #304 Upon updating to 3.2.0, the breaking change would taint any devices with a stated
hardware_reservation_id = "next-available"
value and a computed UUID, before 3.2.0 this diff was ignored by the provider. The 3.1.0 diff behavior has been restored, removing the breaking change.
BREAKING CHANGES:
- #289
packet_device
attributehardware_reservation_id
is now for stating the intended value. Thehardware_reservation_id
of the deployed device can now be found in the computeddeployed_hardware_reservation_id
field.
FEATURES:
- #294 New parameters
tags
andipxe_script_url
forpacket_spot_market_request
IMPROVEMENTS:
- #290 Updated base containers of github actions to fix CVE-2020-15528
- #295 Version of packngo updated to 0.5.1
- #296 Split hardware reservation ID to a parameter and a read-only attribute in
packet_device
BREAKING CHANGES:
- packngo updated to v0.5.0, changing the API endpoint from api.packet.net to api.equinix.com/metal/v1
FEATURES:
- #249 New datasource
packet_project_ssh_key
IMPROVEMENTS:
- #276
packet_device
datasource should query by hostname much faster packet_device_network_type
conversions should be more reliable- Test sweeper added for SSH keys
- Acceptance testing moved to Github Actions
- Improved logging when resources are not found and removed from state
- Device vlan attachments and network types will be removed from state when their device is removed
- E2E tests are more thorough and successful
BREAKING CHANGES:
- #246 Updates URLs to reflect move from terraform-providers/terraform-provider-packet to packethost/terraform-provider-packet
BREAKING CHANGES:
- #240 Attribute
packet_device.network_type
is now read-only. Writes (and Reads, when writes are used) should usepacket_device_network_type
.
IMPROVEMENTS:
- #240 New resource
packet_device_network_type
for handling network modes of devices. - removal of deleted
packet_device
attributes:facility
(deprecated in 2.0.0) andip_address_types
(removed in 2.7.5)
BUG FIXES:
- #239 Fix conversion from nil during WaitForState loops
FEATURES:
- #237 Switch
userdata
attribute of packet_device to ForceNew
FEATURES:
- #235 Removed public_ipv4_subnet_size attr of packet_device. It's deprecated and replaced by ip_address attribute
- #232 New datasource packet_device_bgp_neighbors
BUG FIXES:
- #231 Fix storage param for packet_device
IMPROVEMENTS:
- #225 Bump packngo to version correctly handling hybrid mode for n2.xlarge device plan
- #226 Remove deprecated code for ip_address_type attribute of the packet_device resource
FEATURES:
- #223 Add new list argument
ip_address
topacket_device
to allow finer control of assigning subnets from reserved IP blocks to devices - Deprecate
ip_address_types
forpacket_device
IMPROVEMENTS:
- Add sweepers for Acceptance tests of Projects, Devices and Volumes
- Prefix names of testing resources with
tfacc-
, to mark them for sweepers - Fixed links in docs to capture migration of Packet Knowledge Base
BUG FIXES:
- Fix bug when devices were added to Terraform state
- Update volumes sizes in Acceptance Tests
IMPROVEMENTS:
- #210 Distinguish HTTP 404 NotFound from API and from loadbalancer.
BUG FIXES:
- #212 Update retryablehttp dependency to fix #211.
IMPROVEMENTS:
- #205 packet_device: allow to force-detach volume on resource removal
- #208 packet_device: add caution note to hardware_reservation_id
BUG FIXES:
- #207 packet_bgp_session: fix ignored ipv6 value in address_family attribute
IMPROVEMENTS:
- #202 packet_volume_attachment documenation: show how to run attach script via Terraform
BUG FIXES:
- #203 Fix disappearing API queries in long waits, e.g. when creating ESXi device
FEATURES
- [#201] (#201) Removed resorce packet_connect
FEATURES
- [#198] (#198) Deprecated resource: packet_connect
IMPROVEMENTS:
- fix of snapshot_policies example in packet_volume documentation
IMPROVEMENTS:
- Resource imports
BUG FIXES:
- #194 HTTP client hotfix - don't retry on HTTP responses with 5xx status code
- #196 Add mutext to guard VLAN detachment
IMPROVEMENTS:
- #187 Bump Go version to 1.13
- #186 Update Packet SDK in order to use retryable HTTP client
- #162 Datasource for packet_volume
- #161 Datasource for packet_project
- #160 Datasource for packet_organization
- #159 Datasource for packet_spotmarket_request
BUG FIXES:
- #180 Fixes device import
- #183 Added missing error handling when waiting for spot instances to complete
IMPROVEMENTS:
- #173 Migrate to TF Plugin SDK
- #174 Add timeouts to packet_device
- #169 Make userdata not ForceNew
- #171 New datasource for selecting preallocated IP blocks in a project
BUG FIXES:
- #175 Better error when device fails to provision
IMPROVEMENTS:
- #168 Mention that users should use Full HW reservation ID
- #163 Add description attribute to packet_reserved_ip_block
BUG FIXES:
- #156 Fix filtering logic in packet_operating_system datasource
IMPROVEMENTS:
- #125 Add argument
wait_for_reservation_deprovision
to packet_device, in order to wait for proper deprovision of reserved hardware, and avoid errors when attempting to create devices in recently-released hardware reservations.
FEATURES:
- #158 New datasource for packet_device
- resource/packet_port_vlan_attachment: Avoid parallel assignment (#152)
IMPROVEMENTS:
- #150 New ip_address_types attribute for packet_device
- #147 Improve error message when trying to create device in nonexistent project
- #145 Terraform SDK upgrade with compatibility for Terraform v0.12
- #144 Support for Native VLAN in packet_port_vlan_attachment
- #142 Remove deprecated facility, fix import of packet_device
BUG FIXES:
- #140 Relax the network_type attribute of packet_device, fixing #138
- #139 Fix facility json tag for packet_sport_market_request
BUG FIXES:
- #137 Remove Disbond call from port-vlan-attachment creation function, in order to fix use-case for layer2-bonded
IMPROVEMENTS:
- #135 Add default_policy flag to packet_bgp_session resource
IMPROVEMENTS:
- Documetnation fixes
FEATURES:
- #132 New resource /packet_connect: connection to VLANs in other cloud providers
IMPROVEMENTS:
- #114 Bump Terraform version to 0.11.11 in order to see JSON from HTTP responses
- Documentation fixes
- Packet Go library updates
- #122 backend_transfer attribute in packet_project
FEATURES:
- #86 Layer 2 support: network_type attribute in packet_device, new resource packet_port_vlan_attachment
IMPROVEMENTS:
- #112 Remove strict validation for facilities, in order to allow non-public private facilities and testing new facilites
FEATURES:
- #101 Bump Go version to 1.11.5 and switch to Go Modules
- #96 New resource/packet_project_ssh_key: Resource for Project SSH Keys
- #93 resource/packet_device: Allow list of facilities and "any" facility
IMPROVEMENTS:
-
#99 resource/packet_reserved_ip_block: extend to allow for Global floating IP blocks
-
Various doc improvements
BUG FIXES:
- #104 Fix empty error messages on invalid credentials
- #111 Fix handling of resources deleted out of Terraform
IMPROVEMENTS:
- #95 Hotfix - facility df2 was missing from API lib listing
IMPROVEMENTS:
- #92 Hotfix of device network order, back to: 0. Public IPv4, 1. IPv6, 2. Private IPv4
FEATURES:
- #88 Support for BGP resources
- #87 Upgrade to Go 1.11
- #85 resource/packet_vlan: New resource for VLANs
IMPROVEMENTS:
- #89 Impose explicit order on network configurations in device resource
FEATURES:
- #72 resource/packet_spot_market_request: New resource for Spot Market Request for devices.
- #71 datasource/packet_spot_market_price: New datasource for lookup of current hourly spot market price of devices based on location and plan
- #70 datasource/packet_operating_system: New datasource for OS lookup
IMPROVEMENTS:
- #73 - devices, projects and volumes are now importable (see
terraform import
doc) - #69 - in Device docs, explain how to get OS slugs
BUG FIXES:
- #74 fix of broken links in device and ip_attachment docs
BUG FIXES:
r/packet_ip_attachment
- handling IP attachments being deleted outside of Terraform (#68)
- #61, fix volume resource update
- #63, add Organization resource, add org attirbute to project resource
IMPROVEMENTS:
- #58, properly fix resource updates
IMPROVEMENTS:
- #57, fix for update of PXE attributes of device resource
- #52 fix for project resource update
- #49 fix for crash on SSH key update
- #50 fix for device update, adds
description
attribute
BACKWARDS INCOMPATIBILITIES / NOTES:
- #37, changes computation of packet_reserved_ip_block.cidr_notation. In case you use that attribute down the chain, you will need to refresh and recreate the resource in which you use it.
IMPROVEMENTS:
- datasource/packet_precreated_ip_block: Add Datasource for precreated IP blocks, so that users can assign subnets from those (#36)
- mark device userdata as ForceNew, fixing (#42)
- Add support for CPR (custom partitioning and RAID)(#35)
INTERNAL:
- Capture breaking change in the Packet API ((equinixmetal-archive/packngo#47))
INTERNAL:
- provider: Add logging transport for HTTP client (
DEBUG
log now contains all HTTP requests & responses) (#25)
IMPROVEMENTS:
- resource/packet_device: Add
public_ipv4_subnet_size
field (#7) - resource/packet_device: Add
hardware_reservation_id
field (#14) - resource/packet_device: Add
root_password
attribute (#15) - resource/packet_volume_attachment: Add resource for attaching volumes (#9)
- resource/packet_reserved_ip_block: Add resource for reserving blocks of IP addresses (#21)
- resource/packet_ip_attachment: Add resource for attaching floating IP addresses to devices (#21)
- resource/packet_devce: Allow to use next-available hardware reservation (#26)
- resource/packet_reserved_ip_block: Make reserved IP block resource importable (#29)
NOTES:
- Same functionality as that of Terraform 0.9.8. Repacked as part of Provider Splitout