Skip to content

Commit

Permalink
tmp update provider address
Browse files Browse the repository at this point in the history
  • Loading branch information
grongor committed May 14, 2024
1 parent fdc6813 commit 9ab2942
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand All @@ -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 {
Expand Down

0 comments on commit 9ab2942

Please sign in to comment.