Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Data ¶ added in v0.37.0
type Data map[string]interface{}
Data represents a terraform data block in a File
type File ¶
type File struct { Terraform Terraform Provider map[string]Provider Variable map[string]Variable Module map[string]Module Data map[string]Data }
File represents a parsed HCL Terraform file
func GetHCLFileFromTerraform ¶
GetHCLFileFromTerraform will return a File for the passed string of hcl terraform
func (*File) GetDataNames ¶ added in v0.37.0
GetDataNames returns the list of data names defined in the file
func (*File) GetModuleNames ¶
GetModuleNames returns the list of module names defined in the file
func (*File) GetVariableNames ¶
GetVariableNames returns the list of variable names defined in the file
Click to show internal directories.
Click to hide internal directories.