EOL (End of Life) scheduled for July 1, 2023
This repository is now Deprecated meaning that this software is only supported or maintained by Equinix Metal and its community in a case-by-case basis.
(#232)
- Deprecated Attribute:
metal_connection
.token
(#207)
metal_reserved_ip_block
will now block until the IP range is available. This is generally the desired outcome but is a change in behavior. Usewait_for_state
to achieve the previous behavior, if desired.- Fix
wait_for_deprovision
behavior ofmetal_device
to detect reservations being repurposed during the wait period (#217)
- New data source
metal_plans
for querying plans using filters (#194) - New resource and data source
metal_vrf
(#224) - Adds
vrf
as a datasource attribute tometal_gateway
(#224) - Adds
vrf_id
as a datasource attribute tometal_gateway
(#224) - Adds
vrf_id
,peer_asn
,subnet
,metal_ip
,customer_ip
,md5
as resource arguments and datasource attributes tometal_virtual_circuit
(#224) - Adds
vrf_id
,network
,cidr
as resource arguments tometal_reserved_ip_block
(#224) - Adds
address
as a datasource attribute and resource argument tometal_organization
(#231) - Adds
wait_for_state
as an argument tometal_reserved_ip_block
(#209) - Adds
custom_data
as an argument tometal_reserved_ip_block
(#209) - Changed
tags
anddescription
arguments to updatable inmetal_reserved_ip_block
(#209) - Adds
service_token
as a datasource and resource attribute tometal_connection
(#207) - Adds
service_token_type
as a datasource attribute and resource argument tometal_connection
(#207) - Adds
vlans
as a datasource attribute and resource argument tometal_connection
(#207) - Adds
speed
argument tometal_connection
resources (#207)
- packngo version bumped to 0.25.0
- CI build cleanup (go bumped to 1.17, vendor directory removed) (#213)
- E2E tests sped up with parallelization and fixing spot market tests
- E2E tests use data source plans in all tests with a metal_device to check for available hardware (#239)
- E2E tests sweepers will ensure VLAN/projects clean up (#234)
organization_id
is now optional in themetal_connection
resource (#223)ports
attribute in themetal_connection
data source and resource are sorted by role (primary/secondary) (#223)metal_device
resource will support the Terraform timeout attributes (#219)metal_gateway
will wait for the Metal Gateway devices to pass through the "deleting" status (#238)
- Fix
wait_for_deprovision
behavior ofmetal_device
to detect reservations being repurposed during the wait period (#208)
- Fix deletion of
metal_devices
withhardware_reservation_id
==next-available
(#199) - Fix empty
payment_method_id
handling formetal_project
(#201) - Fix error handling when API errors list is empty but HTTP status indicates an error (#195)
- recommend x-auth-token be removed from bug reports by (#202)
- updated TF Plugin SDK to v2.9.0
- Fix deletion of
metal_virtual_connection
resources #183 (v3.2.0-alpha.4) - Fix detection of 403 and 404 errors when multiple errors should be ignored (#192) (v3.2.0-alpha.5)
- Adds
metal_port
resource (#12, #54, #95, #116) (v3.2.0-alpha.1, and #177 unreleased) See https://registry.terraform.io/providers/equinix/metal/latest/docs/guides/network_types#metal-port for usage. - Adds
features_required
argument tometal_facility
data sources (#88) (v3.2.0-alpha.2) - Adds
capacity
filter argument tometal_facility
data sources (#88) (v3.2.0-alpha.2) - Adds
capacity
filter argument tometal_metro
data sources (#88) (v3.2.0-alpha.2)
- Added
termination_time
tometal_device
#182 (v3.2.0-alpha.3) metal_device
hostname
field is now optional/computed #184 (v3.2.0-alpha.3)metal_device
billing_cycle
field is now optional/computed #185 (v3.2.0-alpha.3)- packngo updated to 0.19.1 #186 (v3.2.0-alpha.3)
- Add
--debug
mode to the provider plugin (#173) (v3.2.0-alpha.5) - E2E Test Code coverage is now tracked (#173) (v3.2.0-alpha.5)
- Added
mode
tometal_connection
resource and datasource #129 - Added
tags
tometal_connection
resource and datasource #134 - Added
project_id
tometal_connection
datasource #145 - Added
tags
tometal_virtual_circuit
resource and datasource #134 - Added
description
tometal_virtual_circuit
resource and datasource #134 - Added
speed
tometal_virtual_circuit
resource and datasource #134 metal_virtual_circuit
fieldnni_vlan
is now optional #129- Improved acceptance test success rates #170
- fixed crashing when VLAN is not attached to a virtual circuit #144
BREAKING CHANGES:
- Upgraded the Terraform Plugin SDK to v2 (Terraform v0.12+ now required) #113
metal_volume
resource has been removed #112metal_volume
datasource has been removed #112metal_volume_attachment
resource has been removed #112
FEATURES:
- New resource and datasource
metal_gateway
#157 - New resources for API keys:
metal_user_api_key
andmetal_project_api_key
#147
ENHANCEMENTS:
metal_device
reinstall
options have been added #152
BUG FIXES:
- Metros will be treated as lower-case #126 / #119
- Hardware reservation ID properly read in
metal_device
#167 - Crash of facility nil deref in datasource
metal_reserved_ip_block
#163 - Handling of metro attribute in resource
metal_reserved_ip_block
#169
IMPROVEMENTS:
- added
reinstall
block tometal_device
#152 - added
tags
tometal_reserved_ip_block
#133 - packngo updated to 0.17.0 #137 / #151
- added
Description
attributes to resource structures #130 - Corrections to guides #111
- Provider example illustrates metro use #146
- CI will run go tests on forked PRs #154
BREAKING CHANGES:
metal_spot_market_request
fieldlocked
is now boolean (not string) (#78)
DEPRECATIONS:
- Deprecated Resource:
metal_volume
(#99) - Deprecated Resource:
metal_volume_attachment
(#99) - Deprecated Data Source:
metal_volume
(#99) - removed unintended deprecation of
metal_device
.facility
(#82)
BUG FIXES:
FEATURES:
- New Resource:
metal_connection
(#76) - New Resource:
metal_virtual_circuit
(#92) - New Data Source:
metal_vlan
(#67) - New Data Source:
metal_reserved_ip_blcok
(#80) - New Data Source:
metal_port
(#96) - New Data Source:
metal_hardware_reservation
(#100) - New Guide: Migrating From the Packet Provider (#72)
- New Guide: Upgrading Devices from Facilities to Metros (#103)
IMPROVEMENTS:
- added
metro
tometal_connection
data source (facility
now optional) (#81) - added
devices_min
attribute tometal_spot_market_request
data source (#78) - added
devices_max
attribute tometal_spot_market_request
data source (#78) - added
max_bid_price
attribute tometal_spot_market_request
data source (#78) - added
facilities
attribute tometal_spot_market_request
data source (#78) - added
metro
attribute tometal_spot_market_request
data source (#78) - added
project_id
attribute tometal_spot_market_request
data source (#78) - added
plan
attribute tometal_spot_market_request
data source (#78) - added
end_dt
attribute tometal_spot_market_request
data source (#78) metal_spot_market_request
resources can now be imported (#78)metal_project
md5_pass
field is now flagged sensitive (#93)metal_spot_market_request
instance_parameters
are documented (#104)- minor
metal_spot_market_request
max_bid_price
fluctuations (<2%) are ignored to avoid jitter tainting (#78) - updated device, organization, project, reserved IP block, SSH Key, and VLAN documentation to include import instructions (#78)
- packngo updated to v0.14.1 (#106)
BUG FIXES:
- Fixes
metal_port_vlan_attachment
for Metro VLAN attachment and fixes a bug that caused Facility VLANs to fail attachment when a Metro VLAN was present in the project (#69)
IMPROVEMENTS:
- added
metro
tometal_spot_market_price
data source facility
is now optional in themetal_spot_market_price
data source- documentation examples have been updated to use current plans, facilities, operating systems, and metros (#36)
This release includes support for Equinix Metal Metros. Read more about metros in the Equinix Metal Changelog: New Metros Feature Live post.
Learn more about these changes may enhance and impact your deployments in the GitHub Discussion.
BREAKING CHANGES:
facilities
field inmetal_device
is now optional and conflicts withmetro
(#46)facilities
field inmetal_vlan
is now optional and conflicts withmetro
(#53)facilities
field inmetal_reserved_ip_block
is now optional and conflicts withmetro
(#56)facilities
field inmetal_spot_market_request
is now optional and conflicts withmetro
(#63)
FEATURES:
IMPROVEMENTS:
metro
field added tometal_device
resource (#46)metro
field added tometal_vlan
resource (#53)metro
field added tometal_reserved_ip_block
resource (#56)metro
field added tometal_facility
data source (#58)metro
field added tometal_device
data source (#46)metro
field added tometal_precreate_ip_block
data source (#58)metro
field added tometal_spot_market_request
resource (#63)facilities
field is computed inmetal_spot_market_request
resource when not specified (#63)vxlan
field added tometal_vlan
resource (#53)metro
search parameter added tometal_ip_block_ranges
data source (#58)packngo
update tov0.13.0
(#63)
BUG FIXES:
- virtual_circuit: fixed documentation page title(#59)
- some deletion 404 and 403s were not treated as successful (#47)
BREAKING CHANGES:
- The environment variable
PACKET_AUTH_TOKEN
is deprecated. UseMETAL_AUTH_TOKEN
. CustomData
fields may be parsed differently with packngo v0.6.0+
FIXES:
metal_project_ssh_key
project_id
is reported correctlymetal_ssh_key
project_id
is reported correctly- Delete operations now treat 404 and 403 HTTP errors as successful
FEATURES:
- New Data Source
metal_facility
- New Provider Argument
max_retries
- New Provider Argument
max_retry_wait_seconds
- Versioned User-Agent is reported by the HTTP Client
metal_device_network_type
fieldtype
now acceptshybrid-bonded
IMPROVEMENTS:
- Depends on packngo v0.7.0
- Documentation corrections
- E2E testing has less test jitter and greater overall success
- Removed debug logs from metal_operating_system data source
- Removed debug logs from metal_organization data source
- Removed debug logs from metal_project data source
BREAKING CHANGES:
- #1 Users migrating from the Packet provider, please follow the instructions at the linked issue. In short, all v3.2.0 Packet provider resources have been renamed.
FEATURES:
-
New Resource
metal_bgp_session
-
New Resource
metal_device
-
New Resource
metal_device_network_type
-
New Resource
metal_ip_attachment
-
New Resource
metal_organization
-
New Resource
metal_port_vlan_attachment
-
New Resource
metal_project
-
New Resource
metal_project
-
New Resource
metal_project_ssh_key
-
New Resource
metal_reserved_ip_block
-
New Resource
metal_spot_market_request
-
New Resource
metal_ssh_key
-
New Resource
metal_volume
-
New Resource
metal_vlan
-
New Resource
metal_volume_attachment
-
New Data Resource
metal_device
-
New Data Resource
metal_device_bgp_neighbors
-
New Data Resource
metal_ip_block_ranges
-
New Data Resource
metal_operating_system
-
New Data Resource
metal_organization
-
New Data Resource
metal_precreated_ip_block
-
New Data Resource
metal_project
-
New Data Resource
metal_project_ssh_key
-
New Data Resource
metal_spot_market_price
-
New Data Resource
metal_spot_market_request
-
New Data Resource
metal_volume