Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Variables ¶
func Variables(ctx *hcl.EvalContext, body hcl.Body) (hcl.Body, hcl.Diagnostics)
Variables is a custom block type that allows the definition of custom variables within the "variables" block. These variables can be referenced globally through the "var" object. Additionally, variables can reference each other within the "variables" block itself.
Example:
variables { var "foo" { value = "bar" } } block "example" { foo = var.foo.value }
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.