MCPcopy
hub / github.com/opentofu/opentofu / unparsedVariableValueExpression

Struct unparsedVariableValueExpression

internal/command/meta_vars.go:267–270  ·  view source on GitHub ↗

unparsedVariableValueExpression is a backend.UnparsedVariableValue implementation that was actually already parsed (!). This is intended to deal with expressions inside "tfvars" files.

Source from the content-addressed store, hash-verified

265// implementation that was actually already parsed (!). This is
266// intended to deal with expressions inside "tfvars" files.
267type unparsedVariableValueExpression struct {
268 expr hcl.Expression
269 sourceType tofu.ValueSourceType
270}
271
272func (v unparsedVariableValueExpression) ParseVariableValue(mode configs.VariableParsingMode) (*tofu.InputValue, tfdiags.Diagnostics) {
273 var diags tfdiags.Diagnostics

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected