Replies: 1 comment 2 replies
-
We are aware of a bug affecting users with Metro bound VLANs using the This also affects users of the If this bug is impacting you now, remove the metro bound resource (or use a different project for metro resources) until the fix has been released (subscribe to the issue for notification). You will need the latest version of the Equinix Metal provider to take advantage of projects with metro bound VLANs. The latest version of the Packet provider will be needed to avoid TF errors when using the |
Beta Was this translation helpful? Give feedback.
-
Release 2.0.0 introduces Metros https://feedback.equinixmetal.com/changelog/new-metros-feature-live.
The implementation status of various metro features is tracked in #28.
Ask questions about this release here! The moderators will bubble up Q&A into this discussion description and will link issues as needed. Any answer provided here should ultimately make it into the provider documentation. Let us know if we've missed something.
Keep in mind that answers for one resource type may not apply to another (
metal_device
resource behavior is not the same asmetal_vlan
ormetal_reserved_ip_block
behavior). If we are not being specific about which resource we are describing in a question or answer, or we omitted a resource, let us know.State management is Terraform's purpose and this provider release, like all others, aims to fulfill that purpose. This can get tricky given all the possible ways facility and metro state can take form. While we covered the most common use-cases, some state change edge-cases may be blocked or destructive.
If you want to know more about Terraform state management and tainted resources, check out:
How do I use metros?
Devices
The
facilities
field is now optional. You can now specify ametro
. The two fields can not be used together, and you can not change to the other field after deployment.Wether you use the
facilities
ormetro
parameters, thedeployed_facility
andmetro
attributes will both reflect the location of the server.Unlike facilities, you can not provide a list or use a special keyword like "any". Like facilities, you can not change the metro after deployment without the device being destroyed and recreated.
How do I continue to use facilities?
Do nothing different! Continue to set
facilities
to["any"]
or any set of facilities you prefer.The behavior of changing this value has not changed, your device will be destroyed and recreated.
How do I avoid tainting facility deployed devices once I update to a provider release with metro support?
It's best to not change the stated facilities or metro value once created. Take advantage of data sources or the deployed_facility and metro attributes.
How do I update my
metal_device
resources to specify a metro?Removing the
facilities
field, and adding ametro
field, even if the new value matches the attributes from state is not advised. Your device may be destroyed and recreated.Beta Was this translation helpful? Give feedback.
All reactions