package
1.12.0-alpha20250213
Repository: https://github.com/hashicorp/terraform.git
Documentation: pkg.go.dev
# Functions
ModuleFromModuleSourceAddr is an adapter to automatically transform the modern representation of registry module addresses, addrs.ModuleSourceRegistry, into the legacy representation regsrc.Module.
ModuleFromRegistryPackageAddr is similar to ModuleFromModuleSourceAddr, but it works with just the isolated registry package address, and not the full source address.
No description provided by the author
NewModule construct a new module source from separate parts.
ParseFriendlyHost attempts to parse a valid "friendly host" prefix from the given string.
ParseModuleSource attempts to parse source as a Terraform registry module source.
# Variables
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.