fix(instance): add support for listing all servers in scaleway_instance_servers data source - #4190
fix(instance): add support for listing all servers in scaleway_instance_servers data source#4190remyleone wants to merge 1 commit into
Conversation
There was a problem hiding this comment.
Pull request overview
Note
Copilot couldn't run its full agentic review because no GitHub Actions runner was available. Make sure your repository has a runner available to run Copilot's review, or add a copilot-setup-steps.yml file specifying one with the runs-on attribute. See the docs for more details.
This PR updates the scaleway_instance_servers data source to return the full set of servers (not just the first page) by enabling automatic pagination.
Changes:
- Enable fetching all pages when listing instance servers via the Scaleway SDK.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #4190 +/- ##
=====================================
Coverage 1.99% 1.99%
=====================================
Files 589 589
Lines 67437 67437
=====================================
Hits 1346 1346
Misses 65991 65991
Partials 100 100 ☔ View full report in Codecov by Harness. |
5b25213 to
43400a8
Compare
…ce_servers data source
43400a8 to
edfa7c9
Compare
Creating 51 servers just to test this line does not seem to be appropriate in this context
…ce_servers data source