diff --git a/builtin/providers/dnsmadeeasy/main.go b/builtin/bins/provider-dnsmadeeasy/main.go similarity index 54% rename from builtin/providers/dnsmadeeasy/main.go rename to builtin/bins/provider-dnsmadeeasy/main.go index 2e4d060da..45809e0e1 100644 --- a/builtin/providers/dnsmadeeasy/main.go +++ b/builtin/bins/provider-dnsmadeeasy/main.go @@ -1,11 +1,12 @@ package main import ( + "github.com/hashicorp/terraform/builtin/providers/dnsmadeeasy" "github.com/hashicorp/terraform/plugin" ) func main() { plugin.Serve(&plugin.ServeOpts{ - ProviderFunc: Provider, + ProviderFunc: dnsmadeeasy.Provider, }) } diff --git a/builtin/bins/provider-dnsmadeeasy/main_test.go b/builtin/bins/provider-dnsmadeeasy/main_test.go new file mode 100644 index 000000000..06ab7d0f9 --- /dev/null +++ b/builtin/bins/provider-dnsmadeeasy/main_test.go @@ -0,0 +1 @@ +package main diff --git a/builtin/providers/dnsmadeeasy/config.go b/builtin/providers/dnsmadeeasy/config.go index 8c44cc301..7e88ed566 100644 --- a/builtin/providers/dnsmadeeasy/config.go +++ b/builtin/providers/dnsmadeeasy/config.go @@ -1,4 +1,4 @@ -package main +package dnsmadeeasy import ( "fmt" diff --git a/builtin/providers/dnsmadeeasy/provider.go b/builtin/providers/dnsmadeeasy/provider.go index 737727652..7bd868659 100644 --- a/builtin/providers/dnsmadeeasy/provider.go +++ b/builtin/providers/dnsmadeeasy/provider.go @@ -1,4 +1,4 @@ -package main +package dnsmadeeasy import ( "os" diff --git a/builtin/providers/dnsmadeeasy/provider_test.go b/builtin/providers/dnsmadeeasy/provider_test.go index c8f085079..1f2ba3089 100644 --- a/builtin/providers/dnsmadeeasy/provider_test.go +++ b/builtin/providers/dnsmadeeasy/provider_test.go @@ -1,4 +1,4 @@ -package main +package dnsmadeeasy import ( "os" diff --git a/builtin/providers/dnsmadeeasy/resource_dme_record.go b/builtin/providers/dnsmadeeasy/resource_dme_record.go index dddde8b19..c3b7659ff 100644 --- a/builtin/providers/dnsmadeeasy/resource_dme_record.go +++ b/builtin/providers/dnsmadeeasy/resource_dme_record.go @@ -1,4 +1,4 @@ -package main +package dnsmadeeasy import ( "fmt" diff --git a/builtin/providers/dnsmadeeasy/resource_dme_record_test.go b/builtin/providers/dnsmadeeasy/resource_dme_record_test.go index c181b5f3d..75f5d7029 100644 --- a/builtin/providers/dnsmadeeasy/resource_dme_record_test.go +++ b/builtin/providers/dnsmadeeasy/resource_dme_record_test.go @@ -1,4 +1,4 @@ -package main +package dnsmadeeasy import ( "fmt"