Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BackendType ¶
type BackendType string
const ( Local BackendType = "local" Remote BackendType = "remote" TerraformMinVersion = "1.9.0" )
type Configuration ¶
type Configuration struct {
TemplateRepo string `yaml:"template-repo,omitempty"`
TempateVersion string `yaml:"template-version,omitempty"`
TemplateDir string `yaml:"template-dir,omitempty"`
Terraform *Terraform `yaml:"terraform,omitempty"`
}
func LoadConfig ¶
func LoadConfig(path string) (*Configuration, error)
type LocalBackend ¶
type LocalBackend struct {
Path string `yaml:"path"`
}
type ProviderHcloud ¶
type Terraform ¶
type Terraform struct {
Backend *TerraformBackend `yaml:"backend,omitempty"`
Providers *TerraformProvider `yaml:"providers"`
}
type TerraformBackend ¶
type TerraformBackend struct {
Type BackendType `yaml:"type"`
Local *LocalBackend `yaml:"local,omitempty"`
}
type TerraformProvider ¶
type TerraformProvider struct {
Hcloud *ProviderHcloud `yaml:"hcloud,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.