Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultConverted = func(file *hcl.File, inputVariables InputVariableMap) (model.Document, error) { inputVarMap = inputVariables c := converter{bytes: file.Bytes} body, err := c.convertBody(file.Body.(*hclsyntax.Body)) if err != nil { sentry.CaptureException(err) if er, ok := err.(*hcl.Diagnostic); ok && er.Subject != nil { return nil, err } return nil, err } return body, nil }
DefaultConverted an hcl File to a toJson serializable object This assumes that the body is a hclsyntax.Body
Functions ¶
This section is empty.
Types ¶
type InputVariableMap ¶ added in v1.2.2
InputVariableMap represents a set of terraform input variables
Click to show internal directories.
Click to hide internal directories.