mirror of
https://github.com/opentofu/opentofu.git
synced 2025-01-16 19:52:49 -06:00
13fa73c63e
These types represent the individual elements within configuration, the modules a configuration is made of, and the configuration (static module tree) itself.
19 lines
294 B
Go
19 lines
294 B
Go
package configs
|
|
|
|
import (
|
|
"github.com/hashicorp/hcl2/hcl"
|
|
)
|
|
|
|
// ModuleCall represents a "module" block in a module or file.
|
|
type ModuleCall struct {
|
|
Source string
|
|
SourceRange hcl.Range
|
|
|
|
Version VersionConstraint
|
|
|
|
Count hcl.Expression
|
|
ForEach hcl.Expression
|
|
|
|
DeclRange hcl.Range
|
|
}
|