mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
terraform: clarify comment
This commit is contained in:
parent
1ef167602e
commit
6712ed15aa
@ -226,7 +226,8 @@ func (c *Context) Validate() ([]string, []error) {
|
||||
rerr = multierror.ErrorAppend(rerr, err)
|
||||
}
|
||||
|
||||
// TODO: modules
|
||||
// This only needs to be done for the root module, since inter-module
|
||||
// variables are validated in the module tree.
|
||||
if config := c.module.Config(); config != nil {
|
||||
// Validate the user variables
|
||||
if errs := smcUserVariables(config, c.variables); len(errs) > 0 {
|
||||
|
Loading…
Reference in New Issue
Block a user