func NewDefaultProvider(name string) Provider {
	return Provider{
		Type:      name,
		Namespace: "hashicorp",
		Hostname:  "registry.terraform.io",
	}
}
NewDefaultProvider returns the default address of a HashiCorp-maintained,
Registry-hosted provider.
package addrs
import (
	svchost "github.com/hashicorp/terraform-svchost"
)
type Provider struct {
	Type      string
	Namespace string
	Hostname  svchost.Hostname
}
func (pt Provider) String() string {
	return pt.Hostname.ForDisplay() + "/" + pt.Namespace + "/" + pt.Type
}