Comments (6)
I think just the removal of the facility check should fix it. VXLAN must be unique in a project anyway.
That seems reasonable. We could check for either a matching metro or a matching facility, but relying on the unique vxlan within a project makes sense. I'll verify that this uniqueness can be guaranteed.
from terraform-provider-metal.
@jordan0day points out:
a project could have a vlan 1000 in NY and in SG, so you can't count on unique vxlan values for the project
from terraform-provider-metal.
One other complication is that a project could have, say, a Metro-based VLAN 1000 in Metro NY, a Metro-based VLAN in Metro SG, and maybe a previous facility-based VLAN 1000 in say, facility SJC1.
Facility-based vlans will have a facility, metro-based vlans will have a metro, but they'll never have both, if that helps?
from terraform-provider-metal.
a project could have a vlan 1000 in NY and in SG, so you can't count on unique vxlan values for the project
:( I see.
Facility-based vlans will have a facility, metro-based vlans will have a metro, but they'll never have both, if that helps?
@jordan0day yeah this helps. Thanks!
from terraform-provider-metal.
We're going to have to address this in the Packet provider too: packethost/terraform-provider-packet#307
from terraform-provider-metal.
Fixed in https://github.com/equinix/terraform-provider-metal/releases/tag/v2.0.1
from terraform-provider-metal.
Related Issues (20)
- Update TF Acceptance tests to use TF 1.0.2 HOT 3
- crash when IP reservation is filtered by facility and no facility is returned HOT 2
- metal_device read does not import deployed_hardware_reservation_id correctly HOT 2
- test failure from IP reservation that was not yet deleted HOT 1
- Deletion of Metal_Virtual_Connection fails with Error 422 HOT 1
- metal_device.hostname should not be required
- Multiple uses of metal_vlan data source result in duplicates of one vlan
- Plugin panics on terraform destroy after failed terraform apply HOT 7
- deleting a device from a hardware reservation fails HOT 6
- metal_project payment_method_id UUID validation prevents refresh HOT 3
- metal_device wait_for_deprovision can be raced with a new instance claiming the hardware reservation HOT 9
- Device deletion should honor timeout settings HOT 1
- improve logging of hwReservationStateRefreshFunc
- Add VRF Support HOT 2
- r/equinix_metal_connection produces non-empty plan after apply if type is dedicated HOT 1
- metal_connection can not import null expires_at
- r/metal_organization add required field address
- Deprecate the terraform-provider-metal project HOT 1
- test sweepers is leaving some projects undeleted
- equinix_metal_device 403s on failed provision are not detected HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from terraform-provider-metal.