Documentation ¶
Overview ¶
Package hclvalidate provides the `hclvalidate` command for Terragrunt.
`hclvalidate` command recursively looks for hcl files in the directory tree starting at workingDir, and validates them based on the language style guides provided by Hashicorp. This is done using the official hcl2 library.
Index ¶
Constants ¶
View Source
const ( CommandName = "hclvalidate" ShowConfigPathFlagName = "terragrunt-hclvalidate-show-config-path" ShowConfigPathEnvName = "TERRAGRUNT_HCLVALIDATE_SHOW_CONFIG_PATH" JSONOutputFlagName = "terragrunt-hclvalidate-json" JSONOutputEnvName = "TERRAGRUNT_HCLVALIDATE_JSON" )
Variables ¶
This section is empty.
Functions ¶
func NewCommand ¶
func NewCommand(generalOpts *options.TerragruntOptions) *cli.Command
Types ¶
type Options ¶
type Options struct { *options.TerragruntOptions ShowConfigPath bool JSONOutput bool }
func NewOptions ¶
func NewOptions(general *options.TerragruntOptions) *Options
Click to show internal directories.
Click to hide internal directories.