@@ -12,7 +12,7 @@ func Validate(t testing.TestingT, options *Options) string {
1212 return out
1313}
1414
15- // ValidateInputs calls terragrunt validate and returns stdout/stderr.
15+ // ValidateInputs calls terragrunt hcl validate and returns stdout/stderr.
1616func ValidateInputs (t testing.TestingT , options * Options ) string {
1717 out , err := ValidateInputsE (t , options )
1818 require .NoError (t , err )
@@ -24,12 +24,12 @@ func ValidateE(t testing.TestingT, options *Options) (string, error) {
2424 return RunTerraformCommandE (t , options , FormatArgs (options , prepend (options .ExtraArgs .Validate , "validate" )... )... )
2525}
2626
27- // ValidateInputsE calls terragrunt validate-inputs and returns stdout/stderr
27+ // ValidateInputsE calls terragrunt hcl validate and returns stdout/stderr
2828func ValidateInputsE (t testing.TestingT , options * Options ) (string , error ) {
2929 if options .TerraformBinary != "terragrunt" {
3030 return "" , TgInvalidBinary (options .TerraformBinary )
3131 }
32- return RunTerraformCommandE (t , options , FormatArgs (options , prepend (options .ExtraArgs .ValidateInputs , "validate-inputs " )... )... )
32+ return RunTerraformCommandE (t , options , FormatArgs (options , prepend (options .ExtraArgs .ValidateInputs , "hcl" , " validate" )... )... )
3333}
3434
3535// InitAndValidate runs terraform init and validate with the given options and returns stdout/stderr from the validate command.
@@ -40,7 +40,7 @@ func InitAndValidate(t testing.TestingT, options *Options) string {
4040 return out
4141}
4242
43- // InitAndValidateInputs runs terragrunt init and validate-inputs with the given options and returns stdout/stderr from the validate command.
43+ // InitAndValidateInputs runs terragrunt init and hcl validate with the given options and returns stdout/stderr from the validate command.
4444func InitAndValidateInputs (t testing.TestingT , options * Options ) string {
4545 out , err := InitAndValidateInputsE (t , options )
4646 require .NoError (t , err )
@@ -56,7 +56,7 @@ func InitAndValidateE(t testing.TestingT, options *Options) (string, error) {
5656 return ValidateE (t , options )
5757}
5858
59- // InitAndValidateInputsE runs terragrunt init and validate with the given options and returns stdout/stderr
59+ // InitAndValidateInputsE runs terragrunt init and hcl validate with the given options and returns stdout/stderr
6060func InitAndValidateInputsE (t testing.TestingT , options * Options ) (string , error ) {
6161 if _ , err := InitE (t , options ); err != nil {
6262 return "" , err
0 commit comments