Versions in this module Expand all Collapse all v1 v1.13.0 Sep 13, 2024 Changes in this version + func BlocksOfType(body *hclsyntax.Body, blockType string) []*hclsyntax.Block + func CollectAttributes(bodies ...hcl.Body) []*hclsyntax.Attribute + func CollectBlockTypes(bodies ...hcl.Body) []string + func CollectExpressions(bodies ...hcl.Body) []hclsyntax.Expression + func MergeBodies(dest, src *hclsyntax.Body, replace bool) *hclsyntax.Body + func NewHCLSyntaxBodyWithAttr(name string, value cty.Value, rng hcl.Range) *hclsyntax.Body + func NewHCLSyntaxBodyWithStringAttr(name, value string) *hclsyntax.Body + func RenameAttribute(body *hclsyntax.Body, old, new string)