github.com/terramate-io/tf@v0.0.0-20230830114523-fce866b4dfcd/lang/blocktoattr/doc.go (about)

     1  // Copyright (c) HashiCorp, Inc.
     2  // SPDX-License-Identifier: MPL-2.0
     3  
     4  // Package blocktoattr includes some helper functions that can perform
     5  // preprocessing on a HCL body where a configschema.Block schema is available
     6  // in order to allow list and set attributes defined in the schema to be
     7  // optionally written by the user as block syntax.
     8  package blocktoattr