I’m having issue with developing list support for my provider.
When I try to run a test I get an error like this one:
vpc_list_test.go:17: Step 2/2 error running query checks: running terraform query command returned diagnostics: [{baseLogMessage:{Lvl:error Msg:Error: Resource Type Not Found Time:2026-02-25 15:44:29.518763 +0100 CET} Diagnostic:{Severity:error Summary:Resource Type Not Found Detail:No resource type named "scaleway_vpc" was found in the provider. Range:0x4d0ea7508ec0 Snippet:0x4d0ea7580e10}} {baseLogMessage:{Lvl:error Msg:Error: Resource Type Not Found Time:2026-02-25 15:44:29.518843 +0100 CET} Diagnostic:{Severity:error Summary:Resource Type Not Found Detail:No resource type named "scaleway_vpc" was found in the provider. Range:0x4d0ea7508f40 Snippet:0x4d0ea7580e60}} {baseLogMessage:{Lvl:error Msg:Error: Resource Type Not Found Time:2026-02-25 15:44:29.518918 +0100 CET} Diagnostic:{Severity:error Summary:Resource Type Not Found Detail:No resource type named "scaleway_vpc" was found in the provider. Range:0x4d0ea7508fc0 Snippet:0x4d0ea7580eb0}}]
But when I export the schema of my provider, this list resource does indeed show up
Is there any way to debug this kind of issue?
Here is my draft PR if you want to reproduce locally. feat(vpc): add support for list resource by remyleone · Pull Request #3709 · scaleway/terraform-provider-scaleway · GitHub
