Documentation ¶
Index ¶
Constants ¶
View Source
const ( ENV_PATH = "INPUT_CONFIG_PATH" DEFAULT_CONFIG_PATH = "terrapak.hcl" ENV_TERRAPAK_KEY = "INPUT_TERRAPAK_KEY" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Terrapak TerrapakConfig `hcl:"terrapak,block"` Modules []ModuleConfig `hcl:"module,block"` Remain hcl.Body `hcl:",remain"` }
type ModuleConfig ¶
type ModuleConfig struct { Name string `hcl:"name,label"` Path string `hcl:"path"` Provider string `hcl:"provider"` Namespace string `hcl:"organization,optional"` Version string `hcl:"version"` }
func (*ModuleConfig) GetNamespace ¶
func (mc *ModuleConfig) GetNamespace(namespace string) string
type TerrapakConfig ¶
Click to show internal directories.
Click to hide internal directories.