Versions in this module Expand all Collapse all v1 v1.3.6 Dec 5, 2022 Changes in this version + const DefaultParallelism + func FlagIsSet(flags *flag.FlagSet, name string) bool + type Apply struct + AutoApprove bool + InputEnabled bool + Operation *Operation + PlanPath string + State *State + Vars *Vars + ViewType ViewType + func ParseApply(args []string) (*Apply, tfdiags.Diagnostics) + func ParseApplyDestroy(args []string) (*Apply, tfdiags.Diagnostics) + type FlagNameValue struct + Name string + Value string + func (f FlagNameValue) String() string + type Operation struct + ForceReplace []addrs.AbsResourceInstance + Parallelism int + PlanMode plans.Mode + Refresh bool + Targets []addrs.Targetable + func (o *Operation) Parse() tfdiags.Diagnostics + type Output struct + Name string + StatePath string + ViewType ViewType + func ParseOutput(args []string) (*Output, tfdiags.Diagnostics) + type Plan struct + DetailedExitCode bool + InputEnabled bool + Operation *Operation + OutPath string + State *State + Vars *Vars + ViewType ViewType + func ParsePlan(args []string) (*Plan, tfdiags.Diagnostics) + type Refresh struct + InputEnabled bool + Operation *Operation + State *State + Vars *Vars + ViewType ViewType + func ParseRefresh(args []string) (*Refresh, tfdiags.Diagnostics) + type Show struct + Path string + ViewType ViewType + func ParseShow(args []string) (*Show, tfdiags.Diagnostics) + type State struct + BackupPath string + Lock bool + LockTimeout time.Duration + StateOutPath string + StatePath string + type Test struct + Output TestOutput + func ParseTest(args []string) (Test, tfdiags.Diagnostics) + type TestOutput struct + JUnitXMLFile string + type Validate struct + Path string + ViewType ViewType + func ParseValidate(args []string) (*Validate, tfdiags.Diagnostics) + type Vars struct + func (v *Vars) All() []FlagNameValue + func (v *Vars) Empty() bool + type View struct + CompactWarnings bool + NoColor bool + func ParseView(args []string) (*View, []string) + type ViewType rune + const ViewHuman + const ViewJSON + const ViewNone + const ViewRaw + func (vt ViewType) String() string