diff --git a/go.mod b/go.mod index e9b1320..ff158dd 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module terraform-provider-restapi +module github.com/thegeeklab/terraform-provider-restapi go 1.23.2 diff --git a/internal/provider/provider.go b/internal/provider/provider.go index 95ec0de..e1e2f18 100644 --- a/internal/provider/provider.go +++ b/internal/provider/provider.go @@ -5,7 +5,7 @@ import ( "fmt" "net/url" - "terraform-provider-restapi/internal/restapi/restclient" + "github.com/thegeeklab/terraform-provider-restapi/internal/restapi/restclient" "github.com/hashicorp/terraform-plugin-framework/datasource" "github.com/hashicorp/terraform-plugin-framework/provider" diff --git a/internal/provider/restobject_data_source.go b/internal/provider/restobject_data_source.go index f8dac17..a3594e4 100644 --- a/internal/provider/restobject_data_source.go +++ b/internal/provider/restobject_data_source.go @@ -5,9 +5,9 @@ import ( "fmt" "strconv" - "terraform-provider-restapi/internal/restapi/restclient" - "terraform-provider-restapi/internal/restapi/restobject" - "terraform-provider-restapi/internal/utils" + "github.com/thegeeklab/terraform-provider-restapi/internal/restapi/restclient" + "github.com/thegeeklab/terraform-provider-restapi/internal/restapi/restobject" + "github.com/thegeeklab/terraform-provider-restapi/internal/utils" "github.com/hashicorp/terraform-plugin-framework/datasource" "github.com/hashicorp/terraform-plugin-framework/datasource/schema" diff --git a/internal/provider/restobject_resource.go b/internal/provider/restobject_resource.go index a1d3141..7e17d64 100644 --- a/internal/provider/restobject_resource.go +++ b/internal/provider/restobject_resource.go @@ -6,9 +6,9 @@ import ( "fmt" "strconv" - "terraform-provider-restapi/internal/restapi/restclient" - "terraform-provider-restapi/internal/restapi/restobject" - "terraform-provider-restapi/internal/utils" + "github.com/thegeeklab/terraform-provider-restapi/internal/restapi/restclient" + "github.com/thegeeklab/terraform-provider-restapi/internal/restapi/restobject" + "github.com/thegeeklab/terraform-provider-restapi/internal/utils" "github.com/hashicorp/terraform-plugin-framework/attr" "github.com/hashicorp/terraform-plugin-framework/diag" diff --git a/internal/restapi/restobject/create.go b/internal/restapi/restobject/create.go index 7843055..180a957 100644 --- a/internal/restapi/restobject/create.go +++ b/internal/restapi/restobject/create.go @@ -6,7 +6,7 @@ import ( "fmt" "strings" - "terraform-provider-restapi/internal/utils" + "github.com/thegeeklab/terraform-provider-restapi/internal/utils" "github.com/hashicorp/terraform-plugin-log/tflog" ) diff --git a/internal/restapi/restobject/create_test.go b/internal/restapi/restobject/create_test.go index cf0585b..35baff0 100644 --- a/internal/restapi/restobject/create_test.go +++ b/internal/restapi/restobject/create_test.go @@ -6,7 +6,7 @@ import ( "net/http" "testing" - "terraform-provider-restapi/internal/restapi/restclient" + "github.com/thegeeklab/terraform-provider-restapi/internal/restapi/restclient" "github.com/jarcoal/httpmock" "github.com/stretchr/testify/assert" diff --git a/internal/restapi/restobject/delete.go b/internal/restapi/restobject/delete.go index 4268a45..605269f 100644 --- a/internal/restapi/restobject/delete.go +++ b/internal/restapi/restobject/delete.go @@ -6,7 +6,7 @@ import ( "net/http" "strings" - "terraform-provider-restapi/internal/utils" + "github.com/thegeeklab/terraform-provider-restapi/internal/utils" "github.com/hashicorp/terraform-plugin-log/tflog" ) diff --git a/internal/restapi/restobject/delete_test.go b/internal/restapi/restobject/delete_test.go index e0db4da..087e50c 100644 --- a/internal/restapi/restobject/delete_test.go +++ b/internal/restapi/restobject/delete_test.go @@ -5,8 +5,8 @@ import ( "net/http" "testing" - "terraform-provider-restapi/internal/restapi/restclient" - "terraform-provider-restapi/internal/testutils" + "github.com/thegeeklab/terraform-provider-restapi/internal/restapi/restclient" + "github.com/thegeeklab/terraform-provider-restapi/internal/testutils" "github.com/jarcoal/httpmock" "github.com/stretchr/testify/assert" diff --git a/internal/restapi/restobject/find.go b/internal/restapi/restobject/find.go index 6803bb3..4774f2d 100644 --- a/internal/restapi/restobject/find.go +++ b/internal/restapi/restobject/find.go @@ -7,7 +7,7 @@ import ( "fmt" "reflect" - "terraform-provider-restapi/internal/utils" + "github.com/thegeeklab/terraform-provider-restapi/internal/utils" "github.com/hashicorp/terraform-plugin-log/tflog" ) diff --git a/internal/restapi/restobject/find_test.go b/internal/restapi/restobject/find_test.go index 54e4a75..e23d106 100644 --- a/internal/restapi/restobject/find_test.go +++ b/internal/restapi/restobject/find_test.go @@ -6,7 +6,7 @@ import ( "net/http" "testing" - "terraform-provider-restapi/internal/restapi/restclient" + "github.com/thegeeklab/terraform-provider-restapi/internal/restapi/restclient" "github.com/jarcoal/httpmock" "github.com/stretchr/testify/assert" diff --git a/internal/restapi/restobject/object.go b/internal/restapi/restobject/object.go index 28a1ad1..961250d 100644 --- a/internal/restapi/restobject/object.go +++ b/internal/restapi/restobject/object.go @@ -7,8 +7,8 @@ import ( "fmt" "path/filepath" - "terraform-provider-restapi/internal/restapi/restclient" - "terraform-provider-restapi/internal/utils" + "github.com/thegeeklab/terraform-provider-restapi/internal/restapi/restclient" + "github.com/thegeeklab/terraform-provider-restapi/internal/utils" "github.com/davecgh/go-spew/spew" "github.com/hashicorp/terraform-plugin-log/tflog" diff --git a/internal/restapi/restobject/object_test.go b/internal/restapi/restobject/object_test.go index 2e7a4ff..220b726 100644 --- a/internal/restapi/restobject/object_test.go +++ b/internal/restapi/restobject/object_test.go @@ -5,7 +5,7 @@ import ( "encoding/json" "testing" - "terraform-provider-restapi/internal/restapi/restclient" + "github.com/thegeeklab/terraform-provider-restapi/internal/restapi/restclient" "github.com/jarcoal/httpmock" ) diff --git a/internal/restapi/restobject/read_test.go b/internal/restapi/restobject/read_test.go index df328b5..e600fb3 100644 --- a/internal/restapi/restobject/read_test.go +++ b/internal/restapi/restobject/read_test.go @@ -5,7 +5,7 @@ import ( "net/http" "testing" - "terraform-provider-restapi/internal/restapi/restclient" + "github.com/thegeeklab/terraform-provider-restapi/internal/restapi/restclient" "github.com/jarcoal/httpmock" "github.com/stretchr/testify/assert" diff --git a/internal/restapi/restobject/update.go b/internal/restapi/restobject/update.go index 3329471..b1dc80c 100644 --- a/internal/restapi/restobject/update.go +++ b/internal/restapi/restobject/update.go @@ -6,7 +6,7 @@ import ( "fmt" "strings" - "terraform-provider-restapi/internal/utils" + "github.com/thegeeklab/terraform-provider-restapi/internal/utils" "github.com/hashicorp/terraform-plugin-log/tflog" ) diff --git a/internal/restapi/restobject/update_test.go b/internal/restapi/restobject/update_test.go index f3f6925..858f444 100644 --- a/internal/restapi/restobject/update_test.go +++ b/internal/restapi/restobject/update_test.go @@ -7,7 +7,7 @@ import ( "net/http" "testing" - "terraform-provider-restapi/internal/restapi/restclient" + "github.com/thegeeklab/terraform-provider-restapi/internal/restapi/restclient" "github.com/jarcoal/httpmock" "github.com/stretchr/testify/assert" diff --git a/main.go b/main.go index ebba8ef..1acb810 100644 --- a/main.go +++ b/main.go @@ -5,7 +5,7 @@ import ( "flag" "log" - "terraform-provider-restapi/internal/provider" + "github.com/thegeeklab/terraform-provider-restapi/internal/provider" "github.com/hashicorp/terraform-plugin-framework/providerserver" )