Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AWSProvider ¶
type AWSProvider struct { // the aws provider is optional (above) but if supplied you must set account id and region AccountID *int64 `json:"account_id" validate:"required"` AdditionalRegions []string `json:"additional_regions"` Profile *string `json:"profile"` Region *string `json:"region" validate:"required"` Version *string `json:"version,omitempty" validate:"required"` }
type Common ¶
type Common struct { Backend Backend `json:"backend,omitempty"` ExtraVars map[string]string `json:"extra_vars,omitempty"` Owner string `json:"owner,omitempty" ` Project string `json:"project,omitempty" ` Providers Providers `json:"providers,omitempty" ` TerraformVersion string `json:"terraform_version,omitempty"` }
type Config ¶
type Config struct { Accounts map[string]Account `json:"accounts,omitempty"` Defaults Defaults `json:"defaults" validate:"required"` Docker bool `json:"docker,omitempty"` Envs map[string]Env `json:"envs,omitempty"` Global Component `json:"global,omitempty"` Modules map[string]v1.Module `json:"modules,omitempty"` Plugins v1.Plugins `json:"plugins,omitempty"` Tools Tools `json:"tools,omitempty"` Version int `json:"version" validate:"required,eq=2"` }
func ReadConfig ¶
type Providers ¶
type Providers struct {
AWS *AWSProvider `json:"aws"`
}
Click to show internal directories.
Click to hide internal directories.