Versions in this module Expand all Collapse all v2 v2.4.2 Apr 27, 2020 v2.4.1 Apr 27, 2020 Changes in this version + func BodyWithDiagnostics(body hcl.Body, diags hcl.Diagnostics) hcl.Body + func Deep(body hcl.Body, transformer Transformer) hcl.Body + func NewErrorBody(diags hcl.Diagnostics) hcl.Body + func Shallow(body hcl.Body, transformer Transformer) hcl.Body + type Transformer interface + TransformBody func(hcl.Body) hcl.Body + func Chain(c []Transformer) Transformer + type TransformerFunc func(hcl.Body) hcl.Body + func (f TransformerFunc) TransformBody(in hcl.Body) hcl.Body