Documentation ¶
Overview ¶
Package module package
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildTokenEnvVar ¶
BuildTokenEnvVar builds the environment variable name to supply the authorization token for the specified host. For reasoning for implementatino - https://www.terraform.io/cli/config/config-file#environment-variable-credentials
func GetModuleRegistryEndpointForHost ¶
GetModuleRegistryEndpointForHost returns the API path on the server for example, https://somehost.somecompany.com/.well-known/terraform.json returns something like {"modules.v1":"/api/v4/packages/terraform/modules/v1/"}
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.