Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TFPlan ¶
type TFPlan struct { FormatVersion string `json:"format_version"` TerraformVersion string `json:"terraform_version"` }
TFPlan implements the IacProvider interface
func (*TFPlan) LoadIacDir ¶
func (k *TFPlan) LoadIacDir(absRootDir string, options map[string]interface{}) (output.AllResourceConfigs, error)
LoadIacDir is not supported for tfplan IacType. Terraform plan should always be a file and not a directory
func (*TFPlan) LoadIacFile ¶
func (t *TFPlan) LoadIacFile(absFilePath string, options map[string]interface{}) (allResourcesConfig output.AllResourceConfigs, err error)
LoadIacFile parses the given tfplan file from the given file path
Click to show internal directories.
Click to hide internal directories.