-
Notifications
You must be signed in to change notification settings - Fork 45
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
refactor: Framework migration metal connection resource and datasource #572
Conversation
Codecov ReportAttention: Patch coverage is
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## main #572 +/- ##
==========================================
- Coverage 44.46% 42.08% -2.39%
==========================================
Files 93 98 +5
Lines 18164 18401 +237
==========================================
- Hits 8077 7744 -333
- Misses 9883 10453 +570
Partials 204 204 ☔ View full report in Codecov by Sentry. |
Can't tell where exactly it's coming from, but I see a large number of test failures in CI, and I see this error message as well:
In addition to the attribute mentioned in there, I also see references to |
2c50471
to
d8fe0c4
Compare
last test execution failed in https://github.com/equinix/terraform-provider-equinix/actions/runs/7997097147/job/21840875078?pr=572#step:6:3250 but it works locally And same with https://github.com/equinix/terraform-provider-equinix/actions/runs/7997097147/job/21840875078?pr=572#step:6:3121 -- FIXED in last execution after main rebase |
792bfb6
to
fc86bb9
Compare
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.
I can't claim to have gone through all 2000 lines of this change with a fine-toothed comb, but everything looks good to me and I see that the only test failures are for things that would not be impacted by these changes.
{ | ||
ExternalProviders: map[string]resource.ExternalProvider{ | ||
"equinix": { | ||
VersionConstraint: "1.29.0", // latest version with resource defined on SDKv2 |
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.
Does this version number need to be bumped going forward?
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.
not necessarily, since it is the latest version available with the resource using sdkv2. In fact, we can remove this test once migrated, it helped validate compatibility
fc86bb9
to
90f591a
Compare
Signed-off-by: ocobleseqx <oscar.cobles@eu.equinix.com>
Signed-off-by: ocobleseqx <oscar.cobles@eu.equinix.com>
Signed-off-by: ocobleseqx <oscar.cobles@eu.equinix.com>
Signed-off-by: ocobleseqx <oscar.cobles@eu.equinix.com>
Signed-off-by: ocobleseqx <oscar.cobles@eu.equinix.com>
Signed-off-by: ocobleseqx <oscar.cobles@eu.equinix.com>
Signed-off-by: ocobleseqx <oscar.cobles@eu.equinix.com>
Signed-off-by: ocobleseqx <oscar.cobles@eu.equinix.com>
Signed-off-by: ocobleseqx <oscar.cobles@eu.equinix.com>
Signed-off-by: ocobleseqx <oscar.cobles@eu.equinix.com>
Signed-off-by: ocobleseqx <oscar.cobles@eu.equinix.com>
Signed-off-by: ocobleseqx <oscar.cobles@eu.equinix.com>
Signed-off-by: ocobleseqx <oscar.cobles@eu.equinix.com>
Signed-off-by: ocobleseqx <oscar.cobles@eu.equinix.com>
90f591a
to
d03eb33
Compare
Lessons Learned and Changes Introduced:
|
Migration of
equinix_metal_connection
and datasourceequinix_metal_connection‡