diff --git a/main.go b/main.go index 010ff05..52eb9d6 100644 --- a/main.go +++ b/main.go @@ -12,8 +12,7 @@ import ( //go:generate terraform fmt -recursive ./examples/ //go:generate go run github.com/hashicorp/terraform-plugin-docs/cmd/tfplugindocs -// these will be set by the goreleaser configuration -// to appropriate values for the compiled binary. +// these will be set by the goreleaser configuration to appropriate values for the compiled binary. var version = "dev" func main() { @@ -22,11 +21,7 @@ func main() { flag.BoolVar(&debug, "debug", false, "set to true to run the provider with support for debuggers like delve") flag.Parse() - opts := providerserver.ServeOpts{ - // TODO: Update this string with the published name of your provider. - Address: "cdn77.com/cdn77/cdn77", - Debug: debug, - } + opts := providerserver.ServeOpts{Address: "registry.terraform.io/cdn77/cdn77", Debug: debug} err := providerserver.Serve(context.Background(), provider.New(version), opts) if err != nil {