Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
Types ¶
type Config ¶
type Config struct {
Config struct {
DefaultTerraformProfile string `json:"default_terraform_profile"`
TerraformProfileEnvVar string `json:"terraform_profile_env_var"`
} `json:"config"`
TFProfile map[string]TerraformProfile `json:"terraform_profile"`
ConfigRoot string `json:"config_root"`
ConfigFile string `json:"config_file"`
}
func ConfigFromContext ¶
type TerraformProfile ¶ added in v0.3.0
type TerraformProfile struct {
ID string `json:"id"`
Init struct {
BackendConfig []string `json:"backend_config"`
}
Plan struct {
VarFile []string `json:"var_file"`
}
Workspaces struct {
Enabled bool
Dir string
}
PreApplyChecks struct {
Enabled bool
Commands []Command
} `json:"pre_apply_checks"`
PostApplyChecks struct {
Enabled bool
Commands []Command
} `json:"post_apply_checks"`
BinaryName string `json:"binary_name"`
Platforms []string `json:"platforms"`
}
func (TerraformProfile) String ¶ added in v0.3.0
func (t TerraformProfile) String() string
Click to show internal directories.
Click to hide internal directories.