Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DetectionOutput ¶ added in v0.10.36
func Detect ¶
func Detect(ctx *config.RunContext, project *config.Project, includePastResources bool) (*DetectionOutput, error)
Detect returns a list of providers for the given path. Multiple returned providers are because of auto-detected root modules residing under the original path.
type ProjectType ¶ added in v0.10.33
type ProjectType string
var ( ProjectTypeTerraformPlanJSON ProjectType = "terraform_plan_json" ProjectTypeTerraformPlanBinary ProjectType = "terraform_plan_binary" ProjectTypeTerraformCLI ProjectType = "terraform_cli" ProjectTypeTerragruntCLI ProjectType = "terragrunt_cli" ProjectTypeTerraformStateJSON ProjectType = "terraform_state_json" ProjectTypeCloudFormation ProjectType = "cloudformation" ProjectTypeAutodetect ProjectType = "autodetect" )
func DetectProjectType ¶ added in v0.10.0
func DetectProjectType(path string, forceCLI bool) ProjectType
Click to show internal directories.
Click to hide internal directories.