Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Eval ¶
Eval parses code as HCL and then performs a perform evaluation on the result. If the result could be fully evaluated, the value is returned. Otherwise a string with the partial evaluated results is returned.
func EvalExpression ¶
EvalExpression takes an existing expression and partial evaluates it, returning a string which can be used as the value of the expression. If the expression is fully evaluated, the literal is converted back into a string and returned. If the result is still an HCL construct, it is rendered out and returned. One cavaet that a toplevel TemplateExpr will be rendered without surounding quotes when returned.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.