-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deprecate facility/facilities #314
Conversation
Codecov ReportPatch coverage:
📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more Additional details and impacted files@@ Coverage Diff @@
## master #314 +/- ##
==========================================
- Coverage 53.80% 51.07% -2.73%
==========================================
Files 90 90
Lines 17913 17926 +13
==========================================
- Hits 9638 9156 -482
- Misses 8077 8605 +528
+ Partials 198 165 -33
... and 13 files with indirect coverage changes Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- We need to add a deprecation note in the https://github.com/equinix/terraform-provider-equinix/blob/master/docs/data-sources/equinix_metal_facility.md documentation:
# equinix_metal_facility (Data Source)
> **DEPRECATED** Use metro instead...
- I found some example using facility/facilities in
- https://github.com/equinix/terraform-provider-equinix/blob/master/docs/resources/equinix_metal_bgp_session.md
- https://github.com/equinix/terraform-provider-equinix/blob/master/docs/resources/equinix_metal_vlan.md
- https://github.com/equinix/terraform-provider-equinix/blob/master/docs/resources/equinix_metal_reserved_ip_block.md
07c4fdd
to
9df8220
Compare
9df8220
to
fe3c7d8
Compare
This marks all `facility` and `facilities` properties as deprecated, and deprecates `data_source_equinix_metal_facility`. Deprecation messages link to the facility-to-metro [migration guide]. That migration guide was updated in a separate PR to include a link to the [facilities deprecation announcement]. [migration guide]: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices [facilities deprecation announcement]: https://feedback.equinixmetal.com/changelog/bye-facilities-hello-again-metros.
fe3c7d8
to
af87315
Compare
Acceptance tests are broken until https://github.com/packethost/api/pull/8526 is merged & deployed. We could skip tests that create organizations, but IMO it's not worth it to do that since there is already a fix in flight. I ran tests locally to validate that none of the |
Deprecate facility/facilities
This marks all
facility
andfacilities
properties as deprecated, and deprecatesdata_source_equinix_metal_facility
.Deprecation messages link to the facility-to-metro migration guide. That migration guide was updated in a separate PR to include a link to the facilities deprecation announcement.
Closes #312