Versions in this module Expand all Collapse all v1 v1.1.3 Dec 29, 2021 Changes in this version + func Diagnostic(diag tfdiags.Diagnostic, sources map[string][]byte, ...) string + func DiagnosticFromJSON(diag *viewsjson.Diagnostic, color *colorstring.Colorize, width int) string + func DiagnosticPlain(diag tfdiags.Diagnostic, sources map[string][]byte, width int) string + func DiagnosticPlainFromJSON(diag *viewsjson.Diagnostic, width int) string + func DiagnosticWarningsCompact(diags tfdiags.Diagnostics, color *colorstring.Colorize) string + func DiffActionSymbol(action plans.Action) string + func HorizontalRule(color *colorstring.Colorize, width int) string + func ObjectValueID(obj cty.Value) (k, v string) + func ObjectValueIDOrName(obj cty.Value) (k, v string) + func ObjectValueName(obj cty.Value) (k, v string) + func OutputChanges(changes []*plans.OutputChangeSrc, color *colorstring.Colorize) string + func ResourceChange(change *plans.ResourceInstanceChangeSrc, schema *configschema.Block, ...) string + func State(opts *StateOpts) string + func WordWrap(str string, width int) string + type DiffLanguage rune + const DiffLanguageDetectedDrift + const DiffLanguageProposedChange + func (i DiffLanguage) String() string + type StateOpts struct + Color *colorstring.Colorize + Schemas *terraform.Schemas + State *states.State