This repository was archived by the owner on May 14, 2022. It is now read-only.

Description
While attempting the V2 upgrade, I ran tf-sdk-migrator v2upgrade and hit some issues to fix. As the output wasn't entirely clear, I ran it again after fixing the issues resulting in paths that duplicated the v2/ portion of the module name.
--- cloudflare/data_source_zone_dnssec.go
+++ cloudflare/data_source_zone_dnssec.go
@@ -6,7 +6,7 @@ import (
"log"
"github.com/cloudflare/cloudflare-go"
- "github.com/hashicorp/terraform-plugin-sdk/helper/schema"
+ "github.com/hashicorp/terraform-plugin-sdk/v2/v2/helper/schema"
)
This wasn't too problematic to fix however it was unexpected and thought I'd document the issue for others.
The usage path I followed probably wasn't correct however perhaps a warning that the v2/ rewrite had already happened and either halt or skip would be useful?