pub fn to_string<T>(value: &T, ctx: &Context<'_>) -> Result<String>
Expand description
Serialize the given value as an HCL string after evaluating all expressions using the given context.
See the module level documentation for a usage example.
ยงErrors
This function fails with an error if any condition described in the error section of the
evaluate
method documentation meets.