Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApplyConfig ¶
func (*ApplyConfig) Apply ¶
func (c *ApplyConfig) Apply() (*ApplyResult, error)
type ApplyResult ¶
type Change ¶
type Change struct {
Actions []string `json:"actions,omitempty"`
Before any `json:"before,omitempty"`
After any `json:"after,omitempty"`
AfterUnknown any `json:"after_unknown,omitempty"`
BeforeSensitive any `json:"before_sensitive,omitempty"`
AfterSensitive any `json:"after_sensitive,omitempty"`
ReplacePaths any `json:"replace_paths,omitempty"`
Importing any `json:"importing,omitempty"`
GeneratedConfig string `json:"generated_config,omitempty"`
}
type InitConfig ¶
type InitConfig struct {
ChDir string
Upgrade bool
Reconfigure bool
MigrateState bool
BackendConfig map[string]string
}
func (*InitConfig) Init ¶
func (c *InitConfig) Init() error
type Plan ¶
type Plan struct {
FormatVersion string `json:"format_version,omitempty"`
TerraformVersion string `json:"terraform_version,omitempty"`
Variables Variables `json:"variables,omitempty"`
PlannedValues StateValues `json:"planned_values,omitempty"`
ResourceDrift []ResourceChange `json:"resource_drift,omitempty"`
ResourceChanges []ResourceChange `json:"resource_changes,omitempty"`
OutputChanges map[string]Change `json:"output_changes,omitempty"`
PriorState any `json:"prior_state,omitempty"`
Config any `json:"configuration,omitempty"`
RelevantAttributes []ResourceAttr `json:"relevant_attributes,omitempty"`
Checks any `json:"checks,omitempty"`
Timestamp string `json:"timestamp,omitempty"`
Errored bool `json:"errored"`
}
type PlanConfig ¶
func (*PlanConfig) Plan ¶
func (c *PlanConfig) Plan() (*PlanResult, error)
type PlanResult ¶
type ResourceAttr ¶
type ResourceAttr any
type ResourceChange ¶
type ResourceChange any
type State ¶
type State struct {
FormatVersion string `json:"format_version,omitempty"`
TerraformVersion string `json:"terraform_version,omitempty"`
Values *StateValues `json:"values,omitempty"`
Checks any `json:"checks,omitempty"`
}
type StateValues ¶
Click to show internal directories.
Click to hide internal directories.