diff --git a/.goreleaser.yml b/.goreleaser.yml index d3f5d648..bc6d049f 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -10,7 +10,7 @@ builds: flags: - -trimpath ldflags: - - "-s -w -X github.com/vercel/terraform-provider-vercel/client.version={{.Version}}" + - "-s -w -X github.com/vercel/terraform-provider-vercel/v2/client.version={{.Version}}" goos: - freebsd - windows diff --git a/go.mod b/go.mod index 1f61d8fa..af6d1093 100644 --- a/go.mod +++ b/go.mod @@ -9,7 +9,6 @@ require ( github.com/hashicorp/terraform-plugin-log v0.9.0 github.com/hashicorp/terraform-plugin-testing v1.7.0 github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06 - github.com/vercel/terraform-provider-vercel v1.14.2-0.20241027164635-c942f2e4cb82 ) require ( diff --git a/go.sum b/go.sum index 6a8adab2..09e5b437 100644 --- a/go.sum +++ b/go.sum @@ -140,8 +140,6 @@ github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/ github.com/stretchr/testify v1.7.2/go.mod h1:R6va5+xMeoiuVRoj+gSkQ7d3FALtqAAGI1FQKckRals= github.com/stretchr/testify v1.8.3 h1:RP3t2pwF7cMEbC1dqtB6poj3niw/9gnV4Cjg5oW5gtY= github.com/stretchr/testify v1.8.3/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= -github.com/vercel/terraform-provider-vercel v1.14.2-0.20241027164635-c942f2e4cb82 h1:5r412SwcdBXOHPG62lgTnD/sbv14TRoS8Tie7lpUmYs= -github.com/vercel/terraform-provider-vercel v1.14.2-0.20241027164635-c942f2e4cb82/go.mod h1:AdFCiUD0XP8XOi6tnhaCh7I0vyq2TAPmI+GcIp3+7SI= github.com/vmihailenco/msgpack v3.3.3+incompatible/go.mod h1:fy3FlTQTDXWkZ7Bh6AcGMlsjHatGryHQYUTf1ShIgkk= github.com/vmihailenco/msgpack v4.0.4+incompatible h1:dSLoQfGFAo3F6OoNhwUmLwVgaUXK79GlxNBwueZn0xI= github.com/vmihailenco/msgpack v4.0.4+incompatible/go.mod h1:fy3FlTQTDXWkZ7Bh6AcGMlsjHatGryHQYUTf1ShIgkk= diff --git a/main.go b/main.go index 7c5f1c36..39a3f410 100644 --- a/main.go +++ b/main.go @@ -5,7 +5,7 @@ import ( "log" "github.com/hashicorp/terraform-plugin-framework/providerserver" - "github.com/vercel/terraform-provider-vercel/vercel" + "github.com/vercel/terraform-provider-vercel/v2/vercel" ) func main() { diff --git a/sweep/main.go b/sweep/main.go index eb29ebe1..9e16c249 100644 --- a/sweep/main.go +++ b/sweep/main.go @@ -7,7 +7,7 @@ import ( "os" "strings" - "github.com/vercel/terraform-provider-vercel/client" + "github.com/vercel/terraform-provider-vercel/v2/client" ) func main() { diff --git a/vercel/data_source_alias.go b/vercel/data_source_alias.go index 5ed00fc9..560bd8bd 100644 --- a/vercel/data_source_alias.go +++ b/vercel/data_source_alias.go @@ -7,7 +7,7 @@ import ( "github.com/hashicorp/terraform-plugin-framework/datasource" "github.com/hashicorp/terraform-plugin-framework/datasource/schema" "github.com/hashicorp/terraform-plugin-log/tflog" - "github.com/vercel/terraform-provider-vercel/client" + "github.com/vercel/terraform-provider-vercel/v2/client" ) // Ensure the implementation satisfies the expected interfaces. diff --git a/vercel/data_source_attack_challenge_mode.go b/vercel/data_source_attack_challenge_mode.go index bfe1b6fa..32d5970d 100644 --- a/vercel/data_source_attack_challenge_mode.go +++ b/vercel/data_source_attack_challenge_mode.go @@ -7,7 +7,7 @@ import ( "github.com/hashicorp/terraform-plugin-framework/datasource" "github.com/hashicorp/terraform-plugin-framework/datasource/schema" "github.com/hashicorp/terraform-plugin-log/tflog" - "github.com/vercel/terraform-provider-vercel/client" + "github.com/vercel/terraform-provider-vercel/v2/client" ) // Ensure the implementation satisfies the expected interfaces. diff --git a/vercel/data_source_deployment.go b/vercel/data_source_deployment.go index 89a53859..264e622c 100644 --- a/vercel/data_source_deployment.go +++ b/vercel/data_source_deployment.go @@ -9,7 +9,7 @@ import ( "github.com/hashicorp/terraform-plugin-framework/datasource/schema" "github.com/hashicorp/terraform-plugin-framework/types" "github.com/hashicorp/terraform-plugin-log/tflog" - "github.com/vercel/terraform-provider-vercel/client" + "github.com/vercel/terraform-provider-vercel/v2/client" ) // Ensure the implementation satisfies the expected interfaces. diff --git a/vercel/data_source_edge_config.go b/vercel/data_source_edge_config.go index c36cd89a..46f3b813 100644 --- a/vercel/data_source_edge_config.go +++ b/vercel/data_source_edge_config.go @@ -7,7 +7,7 @@ import ( "github.com/hashicorp/terraform-plugin-framework/datasource" "github.com/hashicorp/terraform-plugin-framework/datasource/schema" "github.com/hashicorp/terraform-plugin-log/tflog" - "github.com/vercel/terraform-provider-vercel/client" + "github.com/vercel/terraform-provider-vercel/v2/client" ) // Ensure the implementation satisfies the expected interfaces. diff --git a/vercel/data_source_edge_config_item.go b/vercel/data_source_edge_config_item.go index 9ea09747..4c48dcd9 100644 --- a/vercel/data_source_edge_config_item.go +++ b/vercel/data_source_edge_config_item.go @@ -8,7 +8,7 @@ import ( "github.com/hashicorp/terraform-plugin-framework/datasource/schema" "github.com/hashicorp/terraform-plugin-framework/types" "github.com/hashicorp/terraform-plugin-log/tflog" - "github.com/vercel/terraform-provider-vercel/client" + "github.com/vercel/terraform-provider-vercel/v2/client" ) // Ensure the implementation satisfies the expected interfaces. diff --git a/vercel/data_source_edge_config_schema.go b/vercel/data_source_edge_config_schema.go index 72431a8f..2b8967f3 100644 --- a/vercel/data_source_edge_config_schema.go +++ b/vercel/data_source_edge_config_schema.go @@ -9,7 +9,7 @@ import ( "github.com/hashicorp/terraform-plugin-framework/datasource/schema" "github.com/hashicorp/terraform-plugin-framework/types" "github.com/hashicorp/terraform-plugin-log/tflog" - "github.com/vercel/terraform-provider-vercel/client" + "github.com/vercel/terraform-provider-vercel/v2/client" ) // Ensure the implementation satisfies the expected interfaces. diff --git a/vercel/data_source_edge_config_token.go b/vercel/data_source_edge_config_token.go index cc968be1..994903f4 100644 --- a/vercel/data_source_edge_config_token.go +++ b/vercel/data_source_edge_config_token.go @@ -7,7 +7,7 @@ import ( "github.com/hashicorp/terraform-plugin-framework/datasource" "github.com/hashicorp/terraform-plugin-framework/datasource/schema" "github.com/hashicorp/terraform-plugin-log/tflog" - "github.com/vercel/terraform-provider-vercel/client" + "github.com/vercel/terraform-provider-vercel/v2/client" ) // Ensure the implementation satisfies the expected interfaces. diff --git a/vercel/data_source_endpoint_verification.go b/vercel/data_source_endpoint_verification.go index 65dbc7f8..4b269895 100644 --- a/vercel/data_source_endpoint_verification.go +++ b/vercel/data_source_endpoint_verification.go @@ -7,7 +7,7 @@ import ( "github.com/hashicorp/terraform-plugin-framework/datasource" "github.com/hashicorp/terraform-plugin-framework/datasource/schema" "github.com/hashicorp/terraform-plugin-framework/types" - "github.com/vercel/terraform-provider-vercel/client" + "github.com/vercel/terraform-provider-vercel/v2/client" ) // Ensure the implementation satisfies the expected interfaces. diff --git a/vercel/data_source_file.go b/vercel/data_source_file.go index bfa16d6e..6d812aad 100644 --- a/vercel/data_source_file.go +++ b/vercel/data_source_file.go @@ -10,7 +10,7 @@ import ( "github.com/hashicorp/terraform-plugin-framework/datasource" "github.com/hashicorp/terraform-plugin-framework/datasource/schema" "github.com/hashicorp/terraform-plugin-framework/types" - "github.com/vercel/terraform-provider-vercel/client" + "github.com/vercel/terraform-provider-vercel/v2/client" ) // Ensure the implementation satisfies the expected interfaces. diff --git a/vercel/data_source_log_drain.go b/vercel/data_source_log_drain.go index becb58ff..8eb0f87d 100644 --- a/vercel/data_source_log_drain.go +++ b/vercel/data_source_log_drain.go @@ -9,7 +9,7 @@ import ( "github.com/hashicorp/terraform-plugin-framework/diag" "github.com/hashicorp/terraform-plugin-framework/types" "github.com/hashicorp/terraform-plugin-log/tflog" - "github.com/vercel/terraform-provider-vercel/client" + "github.com/vercel/terraform-provider-vercel/v2/client" ) // Ensure the implementation satisfies the expected interfaces. diff --git a/vercel/data_source_prebuilt_project.go b/vercel/data_source_prebuilt_project.go index 0edb5a98..72310277 100644 --- a/vercel/data_source_prebuilt_project.go +++ b/vercel/data_source_prebuilt_project.go @@ -12,8 +12,8 @@ import ( "github.com/hashicorp/terraform-plugin-framework/datasource" "github.com/hashicorp/terraform-plugin-framework/datasource/schema" "github.com/hashicorp/terraform-plugin-framework/types" - "github.com/vercel/terraform-provider-vercel/client" - "github.com/vercel/terraform-provider-vercel/file" + "github.com/vercel/terraform-provider-vercel/v2/client" + "github.com/vercel/terraform-provider-vercel/v2/file" ) // Ensure the implementation satisfies the expected interfaces. diff --git a/vercel/data_source_project.go b/vercel/data_source_project.go index f8ef69cd..a6cec9c0 100644 --- a/vercel/data_source_project.go +++ b/vercel/data_source_project.go @@ -11,7 +11,7 @@ import ( "github.com/hashicorp/terraform-plugin-framework/schema/validator" "github.com/hashicorp/terraform-plugin-framework/types" "github.com/hashicorp/terraform-plugin-log/tflog" - "github.com/vercel/terraform-provider-vercel/client" + "github.com/vercel/terraform-provider-vercel/v2/client" ) // Ensure the implementation satisfies the expected interfaces. diff --git a/vercel/data_source_project_deployment_retention.go b/vercel/data_source_project_deployment_retention.go index 9a5c6ac2..ba5802e7 100644 --- a/vercel/data_source_project_deployment_retention.go +++ b/vercel/data_source_project_deployment_retention.go @@ -8,7 +8,7 @@ import ( "github.com/hashicorp/terraform-plugin-framework/datasource/schema" "github.com/hashicorp/terraform-plugin-framework/types" "github.com/hashicorp/terraform-plugin-log/tflog" - "github.com/vercel/terraform-provider-vercel/client" + "github.com/vercel/terraform-provider-vercel/v2/client" ) var ( diff --git a/vercel/data_source_project_directory.go b/vercel/data_source_project_directory.go index ac114ef3..d242155f 100644 --- a/vercel/data_source_project_directory.go +++ b/vercel/data_source_project_directory.go @@ -10,8 +10,8 @@ import ( "github.com/hashicorp/terraform-plugin-framework/datasource" "github.com/hashicorp/terraform-plugin-framework/datasource/schema" "github.com/hashicorp/terraform-plugin-framework/types" - "github.com/vercel/terraform-provider-vercel/client" - "github.com/vercel/terraform-provider-vercel/file" + "github.com/vercel/terraform-provider-vercel/v2/client" + "github.com/vercel/terraform-provider-vercel/v2/file" ) // Ensure the implementation satisfies the expected interfaces. diff --git a/vercel/data_source_shared_environment_variable.go b/vercel/data_source_shared_environment_variable.go index 966d24fa..fb6a67fe 100644 --- a/vercel/data_source_shared_environment_variable.go +++ b/vercel/data_source_shared_environment_variable.go @@ -10,7 +10,7 @@ import ( "github.com/hashicorp/terraform-plugin-framework/schema/validator" "github.com/hashicorp/terraform-plugin-framework/types" "github.com/hashicorp/terraform-plugin-log/tflog" - "github.com/vercel/terraform-provider-vercel/client" + "github.com/vercel/terraform-provider-vercel/v2/client" ) // Ensure the implementation satisfies the expected interfaces. diff --git a/vercel/data_source_team_config.go b/vercel/data_source_team_config.go index 244a1c2a..91e98602 100644 --- a/vercel/data_source_team_config.go +++ b/vercel/data_source_team_config.go @@ -7,7 +7,7 @@ import ( "github.com/hashicorp/terraform-plugin-framework/datasource" "github.com/hashicorp/terraform-plugin-framework/datasource/schema" "github.com/hashicorp/terraform-plugin-framework/types" - "github.com/vercel/terraform-provider-vercel/client" + "github.com/vercel/terraform-provider-vercel/v2/client" ) var ( diff --git a/vercel/provider.go b/vercel/provider.go index 1c0ad72b..315374c5 100644 --- a/vercel/provider.go +++ b/vercel/provider.go @@ -11,7 +11,7 @@ import ( "github.com/hashicorp/terraform-plugin-framework/provider/schema" "github.com/hashicorp/terraform-plugin-framework/resource" "github.com/hashicorp/terraform-plugin-framework/types" - "github.com/vercel/terraform-provider-vercel/client" + "github.com/vercel/terraform-provider-vercel/v2/client" ) type vercelProvider struct{} diff --git a/vercel/provider_test.go b/vercel/provider_test.go index c5c98b00..35096c24 100644 --- a/vercel/provider_test.go +++ b/vercel/provider_test.go @@ -7,8 +7,8 @@ import ( "github.com/hashicorp/terraform-plugin-framework/providerserver" "github.com/hashicorp/terraform-plugin-go/tfprotov6" - "github.com/vercel/terraform-provider-vercel/client" - "github.com/vercel/terraform-provider-vercel/vercel" + "github.com/vercel/terraform-provider-vercel/v2/client" + "github.com/vercel/terraform-provider-vercel/v2/vercel" ) var testAccProtoV6ProviderFactories = map[string]func() (tfprotov6.ProviderServer, error){ diff --git a/vercel/resource_alias.go b/vercel/resource_alias.go index 041cbb7f..35ae34cf 100644 --- a/vercel/resource_alias.go +++ b/vercel/resource_alias.go @@ -10,7 +10,7 @@ import ( "github.com/hashicorp/terraform-plugin-framework/resource/schema/stringplanmodifier" "github.com/hashicorp/terraform-plugin-framework/types" "github.com/hashicorp/terraform-plugin-log/tflog" - "github.com/vercel/terraform-provider-vercel/client" + "github.com/vercel/terraform-provider-vercel/v2/client" ) // Ensure the implementation satisfies the expected interfaces. diff --git a/vercel/resource_alias_test.go b/vercel/resource_alias_test.go index 78ceb8ce..b6bd159f 100644 --- a/vercel/resource_alias_test.go +++ b/vercel/resource_alias_test.go @@ -8,7 +8,7 @@ import ( "github.com/hashicorp/terraform-plugin-testing/helper/acctest" "github.com/hashicorp/terraform-plugin-testing/helper/resource" "github.com/hashicorp/terraform-plugin-testing/terraform" - "github.com/vercel/terraform-provider-vercel/client" + "github.com/vercel/terraform-provider-vercel/v2/client" ) func testCheckAliasExists(teamID, alias string) resource.TestCheckFunc { diff --git a/vercel/resource_attack_challenge_mode.go b/vercel/resource_attack_challenge_mode.go index b5bc0e64..44d93694 100644 --- a/vercel/resource_attack_challenge_mode.go +++ b/vercel/resource_attack_challenge_mode.go @@ -10,7 +10,7 @@ import ( "github.com/hashicorp/terraform-plugin-framework/resource/schema/stringplanmodifier" "github.com/hashicorp/terraform-plugin-framework/types" "github.com/hashicorp/terraform-plugin-log/tflog" - "github.com/vercel/terraform-provider-vercel/client" + "github.com/vercel/terraform-provider-vercel/v2/client" ) // Ensure the implementation satisfies the expected interfaces. diff --git a/vercel/resource_deployment.go b/vercel/resource_deployment.go index 01c3a08c..e30ace87 100644 --- a/vercel/resource_deployment.go +++ b/vercel/resource_deployment.go @@ -21,8 +21,8 @@ import ( "github.com/hashicorp/terraform-plugin-framework/schema/validator" "github.com/hashicorp/terraform-plugin-framework/types" "github.com/hashicorp/terraform-plugin-log/tflog" - "github.com/vercel/terraform-provider-vercel/client" - "github.com/vercel/terraform-provider-vercel/file" + "github.com/vercel/terraform-provider-vercel/v2/client" + "github.com/vercel/terraform-provider-vercel/v2/file" ) var ( diff --git a/vercel/resource_deployment_test.go b/vercel/resource_deployment_test.go index e943c8c1..f943d119 100644 --- a/vercel/resource_deployment_test.go +++ b/vercel/resource_deployment_test.go @@ -9,7 +9,7 @@ import ( "github.com/hashicorp/terraform-plugin-testing/helper/acctest" "github.com/hashicorp/terraform-plugin-testing/helper/resource" "github.com/hashicorp/terraform-plugin-testing/terraform" - "github.com/vercel/terraform-provider-vercel/client" + "github.com/vercel/terraform-provider-vercel/v2/client" ) func testAccDeploymentExists(n, teamID string) resource.TestCheckFunc { diff --git a/vercel/resource_dns_record.go b/vercel/resource_dns_record.go index ffc29127..d48d36e1 100644 --- a/vercel/resource_dns_record.go +++ b/vercel/resource_dns_record.go @@ -14,7 +14,7 @@ import ( "github.com/hashicorp/terraform-plugin-framework/schema/validator" "github.com/hashicorp/terraform-plugin-framework/types" "github.com/hashicorp/terraform-plugin-log/tflog" - "github.com/vercel/terraform-provider-vercel/client" + "github.com/vercel/terraform-provider-vercel/v2/client" ) var ( diff --git a/vercel/resource_dns_record_test.go b/vercel/resource_dns_record_test.go index ccabeab1..a92fd177 100644 --- a/vercel/resource_dns_record_test.go +++ b/vercel/resource_dns_record_test.go @@ -8,7 +8,7 @@ import ( "github.com/hashicorp/terraform-plugin-testing/helper/acctest" "github.com/hashicorp/terraform-plugin-testing/helper/resource" "github.com/hashicorp/terraform-plugin-testing/terraform" - "github.com/vercel/terraform-provider-vercel/client" + "github.com/vercel/terraform-provider-vercel/v2/client" ) func testAccDNSRecordDestroy(n, teamID string) resource.TestCheckFunc { diff --git a/vercel/resource_edge_config.go b/vercel/resource_edge_config.go index 22e99454..4be3cc0e 100644 --- a/vercel/resource_edge_config.go +++ b/vercel/resource_edge_config.go @@ -12,7 +12,7 @@ import ( "github.com/hashicorp/terraform-plugin-framework/schema/validator" "github.com/hashicorp/terraform-plugin-framework/types" "github.com/hashicorp/terraform-plugin-log/tflog" - "github.com/vercel/terraform-provider-vercel/client" + "github.com/vercel/terraform-provider-vercel/v2/client" ) // Ensure the implementation satisfies the expected interfaces. diff --git a/vercel/resource_edge_config_item.go b/vercel/resource_edge_config_item.go index c37b5dc1..bf7534bd 100644 --- a/vercel/resource_edge_config_item.go +++ b/vercel/resource_edge_config_item.go @@ -10,7 +10,7 @@ import ( "github.com/hashicorp/terraform-plugin-framework/resource/schema/stringplanmodifier" "github.com/hashicorp/terraform-plugin-framework/types" "github.com/hashicorp/terraform-plugin-log/tflog" - "github.com/vercel/terraform-provider-vercel/client" + "github.com/vercel/terraform-provider-vercel/v2/client" ) // Ensure the implementation satisfies the expected interfaces. diff --git a/vercel/resource_edge_config_item_test.go b/vercel/resource_edge_config_item_test.go index c52f7f3e..d0ecb12a 100644 --- a/vercel/resource_edge_config_item_test.go +++ b/vercel/resource_edge_config_item_test.go @@ -8,7 +8,7 @@ import ( "github.com/hashicorp/terraform-plugin-testing/helper/acctest" "github.com/hashicorp/terraform-plugin-testing/helper/resource" "github.com/hashicorp/terraform-plugin-testing/terraform" - "github.com/vercel/terraform-provider-vercel/client" + "github.com/vercel/terraform-provider-vercel/v2/client" ) func getEdgeConfigItemImportID(n string) resource.ImportStateIdFunc { diff --git a/vercel/resource_edge_config_schema.go b/vercel/resource_edge_config_schema.go index e1e46596..6bbbd6bc 100644 --- a/vercel/resource_edge_config_schema.go +++ b/vercel/resource_edge_config_schema.go @@ -12,7 +12,7 @@ import ( "github.com/hashicorp/terraform-plugin-framework/schema/validator" "github.com/hashicorp/terraform-plugin-framework/types" "github.com/hashicorp/terraform-plugin-log/tflog" - "github.com/vercel/terraform-provider-vercel/client" + "github.com/vercel/terraform-provider-vercel/v2/client" ) // Ensure the implementation satisfies the expected interfaces. diff --git a/vercel/resource_edge_config_schema_test.go b/vercel/resource_edge_config_schema_test.go index 74532906..d29a8222 100644 --- a/vercel/resource_edge_config_schema_test.go +++ b/vercel/resource_edge_config_schema_test.go @@ -9,7 +9,7 @@ import ( "github.com/hashicorp/terraform-plugin-testing/helper/acctest" "github.com/hashicorp/terraform-plugin-testing/helper/resource" "github.com/hashicorp/terraform-plugin-testing/terraform" - "github.com/vercel/terraform-provider-vercel/client" + "github.com/vercel/terraform-provider-vercel/v2/client" ) func testCheckEdgeConfigSchemaExists(teamID, n string) resource.TestCheckFunc { diff --git a/vercel/resource_edge_config_test.go b/vercel/resource_edge_config_test.go index 7bd0dbba..7a05b08f 100644 --- a/vercel/resource_edge_config_test.go +++ b/vercel/resource_edge_config_test.go @@ -8,7 +8,7 @@ import ( "github.com/hashicorp/terraform-plugin-testing/helper/acctest" "github.com/hashicorp/terraform-plugin-testing/helper/resource" "github.com/hashicorp/terraform-plugin-testing/terraform" - "github.com/vercel/terraform-provider-vercel/client" + "github.com/vercel/terraform-provider-vercel/v2/client" ) func testCheckEdgeConfigExists(teamID, n string) resource.TestCheckFunc { diff --git a/vercel/resource_edge_config_token.go b/vercel/resource_edge_config_token.go index ff8f0fc1..74aad43a 100644 --- a/vercel/resource_edge_config_token.go +++ b/vercel/resource_edge_config_token.go @@ -11,7 +11,7 @@ import ( "github.com/hashicorp/terraform-plugin-framework/schema/validator" "github.com/hashicorp/terraform-plugin-framework/types" "github.com/hashicorp/terraform-plugin-log/tflog" - "github.com/vercel/terraform-provider-vercel/client" + "github.com/vercel/terraform-provider-vercel/v2/client" ) // Ensure the implementation satisfies the expected interfaces. diff --git a/vercel/resource_edge_config_token_test.go b/vercel/resource_edge_config_token_test.go index 54aa809a..c29ddec1 100644 --- a/vercel/resource_edge_config_token_test.go +++ b/vercel/resource_edge_config_token_test.go @@ -8,7 +8,7 @@ import ( "github.com/hashicorp/terraform-plugin-testing/helper/acctest" "github.com/hashicorp/terraform-plugin-testing/helper/resource" "github.com/hashicorp/terraform-plugin-testing/terraform" - "github.com/vercel/terraform-provider-vercel/client" + "github.com/vercel/terraform-provider-vercel/v2/client" ) func testCheckEdgeConfigTokenExists(teamID, n string) resource.TestCheckFunc { diff --git a/vercel/resource_firewall_config.go b/vercel/resource_firewall_config.go index 74039024..6c973bdb 100644 --- a/vercel/resource_firewall_config.go +++ b/vercel/resource_firewall_config.go @@ -16,7 +16,7 @@ import ( "github.com/hashicorp/terraform-plugin-framework/types" "github.com/hashicorp/terraform-plugin-framework/types/basetypes" "github.com/hashicorp/terraform-plugin-log/tflog" - "github.com/vercel/terraform-provider-vercel/client" + "github.com/vercel/terraform-provider-vercel/v2/client" ) // Ensure the implementation satisfies the expected interfaces. diff --git a/vercel/resource_log_drain.go b/vercel/resource_log_drain.go index 931e6c9c..5339a85f 100644 --- a/vercel/resource_log_drain.go +++ b/vercel/resource_log_drain.go @@ -15,7 +15,7 @@ import ( "github.com/hashicorp/terraform-plugin-framework/schema/validator" "github.com/hashicorp/terraform-plugin-framework/types" "github.com/hashicorp/terraform-plugin-log/tflog" - "github.com/vercel/terraform-provider-vercel/client" + "github.com/vercel/terraform-provider-vercel/v2/client" ) // Ensure the implementation satisfies the expected interfaces. diff --git a/vercel/resource_log_drain_test.go b/vercel/resource_log_drain_test.go index e2017a02..2accd9c6 100644 --- a/vercel/resource_log_drain_test.go +++ b/vercel/resource_log_drain_test.go @@ -8,7 +8,7 @@ import ( "github.com/hashicorp/terraform-plugin-testing/helper/acctest" "github.com/hashicorp/terraform-plugin-testing/helper/resource" "github.com/hashicorp/terraform-plugin-testing/terraform" - "github.com/vercel/terraform-provider-vercel/client" + "github.com/vercel/terraform-provider-vercel/v2/client" ) func testCheckLogDrainExists(teamID, n string) resource.TestCheckFunc { diff --git a/vercel/resource_project.go b/vercel/resource_project.go index 3ac8224e..bd3fe5f2 100644 --- a/vercel/resource_project.go +++ b/vercel/resource_project.go @@ -23,7 +23,7 @@ import ( "github.com/hashicorp/terraform-plugin-framework/types" "github.com/hashicorp/terraform-plugin-framework/types/basetypes" "github.com/hashicorp/terraform-plugin-log/tflog" - "github.com/vercel/terraform-provider-vercel/client" + "github.com/vercel/terraform-provider-vercel/v2/client" ) var ( diff --git a/vercel/resource_project_deployment_retention.go b/vercel/resource_project_deployment_retention.go index 165e95d8..bee5733c 100644 --- a/vercel/resource_project_deployment_retention.go +++ b/vercel/resource_project_deployment_retention.go @@ -12,7 +12,7 @@ import ( "github.com/hashicorp/terraform-plugin-framework/schema/validator" "github.com/hashicorp/terraform-plugin-framework/types" "github.com/hashicorp/terraform-plugin-log/tflog" - "github.com/vercel/terraform-provider-vercel/client" + "github.com/vercel/terraform-provider-vercel/v2/client" ) var ( diff --git a/vercel/resource_project_domain.go b/vercel/resource_project_domain.go index d801c00f..49d42395 100644 --- a/vercel/resource_project_domain.go +++ b/vercel/resource_project_domain.go @@ -11,7 +11,7 @@ import ( "github.com/hashicorp/terraform-plugin-framework/schema/validator" "github.com/hashicorp/terraform-plugin-framework/types" "github.com/hashicorp/terraform-plugin-log/tflog" - "github.com/vercel/terraform-provider-vercel/client" + "github.com/vercel/terraform-provider-vercel/v2/client" ) var ( diff --git a/vercel/resource_project_domain_test.go b/vercel/resource_project_domain_test.go index e2f9a490..288deea9 100644 --- a/vercel/resource_project_domain_test.go +++ b/vercel/resource_project_domain_test.go @@ -10,7 +10,7 @@ import ( "github.com/hashicorp/terraform-plugin-testing/helper/acctest" "github.com/hashicorp/terraform-plugin-testing/helper/resource" "github.com/hashicorp/terraform-plugin-testing/terraform" - "github.com/vercel/terraform-provider-vercel/client" + "github.com/vercel/terraform-provider-vercel/v2/client" ) func TestAcc_ProjectDomain(t *testing.T) { diff --git a/vercel/resource_project_environment_variable.go b/vercel/resource_project_environment_variable.go index 9f7994a1..d3ceff68 100644 --- a/vercel/resource_project_environment_variable.go +++ b/vercel/resource_project_environment_variable.go @@ -13,7 +13,7 @@ import ( "github.com/hashicorp/terraform-plugin-framework/schema/validator" "github.com/hashicorp/terraform-plugin-framework/types" "github.com/hashicorp/terraform-plugin-log/tflog" - "github.com/vercel/terraform-provider-vercel/client" + "github.com/vercel/terraform-provider-vercel/v2/client" ) var ( diff --git a/vercel/resource_project_test.go b/vercel/resource_project_test.go index 8d08545f..2cbad9ce 100644 --- a/vercel/resource_project_test.go +++ b/vercel/resource_project_test.go @@ -13,7 +13,7 @@ import ( "github.com/hashicorp/terraform-plugin-testing/statecheck" "github.com/hashicorp/terraform-plugin-testing/terraform" "github.com/hashicorp/terraform-plugin-testing/tfjsonpath" - "github.com/vercel/terraform-provider-vercel/client" + "github.com/vercel/terraform-provider-vercel/v2/client" ) func TestAcc_Project(t *testing.T) { diff --git a/vercel/resource_shared_environment_variable.go b/vercel/resource_shared_environment_variable.go index ca66fa85..99da23bf 100644 --- a/vercel/resource_shared_environment_variable.go +++ b/vercel/resource_shared_environment_variable.go @@ -15,7 +15,7 @@ import ( "github.com/hashicorp/terraform-plugin-framework/schema/validator" "github.com/hashicorp/terraform-plugin-framework/types" "github.com/hashicorp/terraform-plugin-log/tflog" - "github.com/vercel/terraform-provider-vercel/client" + "github.com/vercel/terraform-provider-vercel/v2/client" ) var ( diff --git a/vercel/resource_team_config.go b/vercel/resource_team_config.go index 9e5924a5..1acffc76 100644 --- a/vercel/resource_team_config.go +++ b/vercel/resource_team_config.go @@ -18,7 +18,7 @@ import ( "github.com/hashicorp/terraform-plugin-framework/types" "github.com/hashicorp/terraform-plugin-framework/types/basetypes" "github.com/hashicorp/terraform-plugin-log/tflog" - "github.com/vercel/terraform-provider-vercel/client" + "github.com/vercel/terraform-provider-vercel/v2/client" ) // Ensure the implementation satisfies the expected interfaces. diff --git a/vercel/resource_webhook.go b/vercel/resource_webhook.go index fa8c928b..1b0a2112 100644 --- a/vercel/resource_webhook.go +++ b/vercel/resource_webhook.go @@ -13,7 +13,7 @@ import ( "github.com/hashicorp/terraform-plugin-framework/schema/validator" "github.com/hashicorp/terraform-plugin-framework/types" "github.com/hashicorp/terraform-plugin-log/tflog" - "github.com/vercel/terraform-provider-vercel/client" + "github.com/vercel/terraform-provider-vercel/v2/client" ) // Ensure the implementation satisfies the expected interfaces. diff --git a/vercel/resource_webhook_test.go b/vercel/resource_webhook_test.go index 672d175a..8ce7bd06 100644 --- a/vercel/resource_webhook_test.go +++ b/vercel/resource_webhook_test.go @@ -8,7 +8,7 @@ import ( "github.com/hashicorp/terraform-plugin-testing/helper/acctest" "github.com/hashicorp/terraform-plugin-testing/helper/resource" "github.com/hashicorp/terraform-plugin-testing/terraform" - "github.com/vercel/terraform-provider-vercel/client" + "github.com/vercel/terraform-provider-vercel/v2/client" ) func testCheckWebhookExists(teamID, n string) resource.TestCheckFunc {