Versions in this module Expand all Collapse all v1 v1.1.3 Dec 29, 2021 Changes in this version + const DiagnosticSeverityError + const DiagnosticSeverityUnknown + const DiagnosticSeverityWarning + type ChangeAction string + const ActionCreate + const ActionDelete + const ActionMove + const ActionNoOp + const ActionRead + const ActionReplace + const ActionUpdate + type ChangeReason string + const ReasonCannotUpdate + const ReasonDeleteBecauseCountIndex + const ReasonDeleteBecauseEachKey + const ReasonDeleteBecauseNoModule + const ReasonDeleteBecauseNoResourceConfig + const ReasonDeleteBecauseWrongRepetition + const ReasonNone + const ReasonRequested + const ReasonTainted + const ReasonUnknown + type ChangeSummary struct + Add int + Change int + Operation Operation + Remove int + func (cs *ChangeSummary) String() string + type Diagnostic struct + Address string + Detail string + Range *DiagnosticRange + Severity string + Snippet *DiagnosticSnippet + Summary string + func NewDiagnostic(diag tfdiags.Diagnostic, sources map[string][]byte) *Diagnostic + type DiagnosticExpressionValue struct + Statement string + Traversal string + type DiagnosticRange struct + End Pos + Filename string + Start Pos + type DiagnosticSnippet struct + Code string + Context *string + HighlightEndOffset int + HighlightStartOffset int + StartLine int + Values []DiagnosticExpressionValue + type Hook interface + HookType func() MessageType + String func() string + func NewApplyComplete(addr addrs.AbsResourceInstance, action plans.Action, idKey, idValue string, ...) Hook + func NewApplyErrored(addr addrs.AbsResourceInstance, action plans.Action, elapsed time.Duration) Hook + func NewApplyProgress(addr addrs.AbsResourceInstance, action plans.Action, elapsed time.Duration) Hook + func NewApplyStart(addr addrs.AbsResourceInstance, action plans.Action, idKey string, ...) Hook + func NewProvisionComplete(addr addrs.AbsResourceInstance, provisioner string) Hook + func NewProvisionErrored(addr addrs.AbsResourceInstance, provisioner string) Hook + func NewProvisionProgress(addr addrs.AbsResourceInstance, provisioner string, output string) Hook + func NewProvisionStart(addr addrs.AbsResourceInstance, provisioner string) Hook + func NewRefreshComplete(addr addrs.AbsResourceInstance, idKey, idValue string) Hook + func NewRefreshStart(addr addrs.AbsResourceInstance, idKey, idValue string) Hook + type MessageType string + const MessageApplyComplete + const MessageApplyErrored + const MessageApplyProgress + const MessageApplyStart + const MessageChangeSummary + const MessageDiagnostic + const MessageLog + const MessageOutputs + const MessagePlannedChange + const MessageProvisionComplete + const MessageProvisionErrored + const MessageProvisionProgress + const MessageProvisionStart + const MessageRefreshComplete + const MessageRefreshStart + const MessageResourceDrift + const MessageVersion + type Operation string + const OperationApplied + const OperationDestroyed + const OperationPlanned + type Output struct + Action ChangeAction + Sensitive bool + Type json.RawMessage + Value json.RawMessage + type Outputs map[string]Output + func OutputsFromChanges(changes []*plans.OutputChangeSrc) Outputs + func OutputsFromMap(outputValues map[string]*states.OutputValue) (Outputs, tfdiags.Diagnostics) + func (o Outputs) String() string + type Pos struct + Byte int + Column int + Line int + type ResourceAddr struct + Addr string + ImpliedProvider string + Module string + Resource string + ResourceKey ctyjson.SimpleJSONValue + ResourceName string + ResourceType string + type ResourceInstanceChange struct + Action ChangeAction + PreviousResource *ResourceAddr + Reason ChangeReason + Resource ResourceAddr + func NewResourceInstanceChange(change *plans.ResourceInstanceChangeSrc) *ResourceInstanceChange + func (c *ResourceInstanceChange) String() string