RunWorkerMetricsDiagnosticSnippet

An excerpt of the configuration around a diagnostic's range.
  • context
    The block the code is in, such as `resource "aws_instance" "web"`. Null when OpenTofu reported none.
  • The code around the range, possibly over several lines.
  • startLine
    One-based line in the file of the first line of `code`.
  • highlightStartOffset
    Zero-based character offset into `code` of the start of the expression the diagnostic points at.
  • highlightEndOffset
    Zero-based character offset into `code` of the end of the expression the diagnostic points at.