github.com/opentofu/opentofu@v1.7.1/internal/lang/blocktoattr/doc.go (about) 1 // Copyright (c) The OpenTofu Authors 2 // SPDX-License-Identifier: MPL-2.0 3 // Copyright (c) 2023 HashiCorp, Inc. 4 // SPDX-License-Identifier: MPL-2.0 5 6 // Package blocktoattr includes some helper functions that can perform 7 // preprocessing on a HCL body where a configschema.Block schema is available 8 // in order to allow list and set attributes defined in the schema to be 9 // optionally written by the user as block syntax. 10 package blocktoattr