Documentation
¶
Overview ¶
* Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. * * This product includes software developed at Datadog (https://www.datadoghq.com) Copyright 2024 Datadog, Inc.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultConverted = func(ctx context.Context, file *hcl.File, inputVariables VariableMap) (model.Document, error) { c := converter{bytes: file.Bytes, inputVars: inputVariables} body, err := c.convertBody(ctx, file.Body.(*hclsyntax.Body), 0) if err != nil { 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 VariableMap ¶
VariableMap represents a set of terraform input variables
Click to show internal directories.
Click to hide internal directories.