Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AnsibleConfig ¶ added in v0.1.1
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"`
Ansible *AnsibleConfig `yaml:"ansible,omitempty"`
Variables map[string]map[string]interface{} `yaml:"variables"`
Tags map[string]string `yaml:"tags"`
}
func LoadConfig ¶
func LoadConfig(path string) (*Configuration, error)
type LocalBackend ¶
type Terraform ¶
type Terraform struct {
Backend *TerraformBackend `yaml:"backend,omitempty"`
Providers []string `yaml:"providers"`
}
func (*Terraform) HasProvider ¶ added in v0.6.0
type TerraformBackend ¶
type TerraformBackend struct {
Type BackendType `yaml:"type"`
Local *LocalBackend `yaml:"local,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.