Documentation ¶
Index ¶
- func MapTfFieldNameToAPI(resourceType, fieldName string) string
- func NestBlocks(resourceType string, schemaBlock *tfjson.SchemaBlock, ...) string
- func WriteAttrLine(key string, value interface{}, usedInBlock bool) string
- func WriteNestedBlock(resourceType string, attributes []string, schemaBlock *tfjson.SchemaBlock, ...) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MapTfFieldNameToAPI ¶
Probably can be deprecated. Need to evaluate.
func NestBlocks ¶
func NestBlocks(resourceType string, schemaBlock *tfjson.SchemaBlock, structData map[string]interface{}, parentID string, indexedNestedBlocks map[string][]string) string
nestBlocks takes a schema and generates all of the appropriate nesting of any. top-level blocks as well as nested lists or sets.
func WriteAttrLine ¶
WriteAttrLine outputs a line of HCL configuration with a configurable depth. for known types.
func WriteNestedBlock ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.