# Functions
MustParseProviderPart is a wrapper around ParseProviderPart that panics if it returns an error.
MustParseProviderSource is a wrapper around ParseProviderSource that panics if it returns an error.
No description provided by the author
NewModule construct a new module source from separate parts.
NewProvider constructs a provider address from its parts, and normalizes the namespace and type parts to lowercase using unicode case folding rules so that resulting addrs.Provider values can be compared using standard Go equality rules (==).
ParseFriendlyHost attempts to parse a valid "friendly host" prefix from the given string.
ParseModuleSource attempts to parse source as a Terraform registry module source.
ParseProviderPart processes an addrs.Provider namespace or type string provided by an end-user, producing a normalized version if possible or an error if the string contains invalid characters.
ParseProviderSource parses the source attribute and returns a provider.
ValidateProviderAddress returns error if the given address is not FQN, that is if it is missing any of the three components from hostname/namespace/name.
# Constants
BuiltInProviderHost is the pseudo-hostname used for the "built-in" provider namespace.
BuiltInProviderNamespace is the provider namespace used for "built-in" providers.
DefaultProviderRegistryHost is the hostname used for provider addresses that do not have an explicit hostname.
LegacyProviderNamespace is the special string used in the Namespace field of type Provider to mark a legacy provider address.
UnknownProviderNamespace is the special string used to indicate unknown namespace, e.g.
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
InvalidHostString is a placeholder returned when a raw host can't be converted by IDNA spec.
NameRe is a regular expression defining the format allowed for namespace or name fields in module registry implementations.
ProviderRe is a regular expression defining the format allowed for provider fields in module registry implementations.
PublicRegistryHost is a FriendlyHost that represents the public registry.
# Structs
FriendlyHost describes a registry instance identified in source strings by a simple bare hostname like registry.terraform.io.
Module describes a Terraform Registry Module source.
No description provided by the author
Provider encapsulates a single provider type.