mirror of
https://github.com/opentofu/opentofu.git
synced 2024-12-25 16:31:10 -06:00
cb2e9119aa
Signed-off-by: namgyalangmo <75657887+namgyalangmo@users.noreply.github.com>
25 lines
1.2 KiB
Go
25 lines
1.2 KiB
Go
// Copyright (c) The OpenTofu Authors
|
|
// SPDX-License-Identifier: MPL-2.0
|
|
// Copyright (c) 2023 HashiCorp, Inc.
|
|
// SPDX-License-Identifier: MPL-2.0
|
|
|
|
// Package configs contains types that represent OpenTofu configurations and
|
|
// the different elements thereof.
|
|
//
|
|
// The functionality in this package can be used for some static analyses of
|
|
// OpenTofu configurations, but this package generally exposes representations
|
|
// of the configuration source code rather than the result of evaluating these
|
|
// objects. The sibling package "lang" deals with evaluation of structures
|
|
// and expressions in the configuration.
|
|
//
|
|
// Due to its close relationship with HCL, this package makes frequent use
|
|
// of types from the HCL API, including raw HCL diagnostic messages. Such
|
|
// diagnostics can be converted into OpenTofu-flavored diagnostics, if needed,
|
|
// using functions in the sibling package tfdiags.
|
|
//
|
|
// The Parser type is the main entry-point into this package. The LoadConfigDir
|
|
// method can be used to load a single module directory, and then a full
|
|
// configuration (including any descendent modules) can be produced using
|
|
// the top-level BuildConfig method.
|
|
package configs
|