terraform: clarify comment

This commit is contained in:
Mitchell Hashimoto 2014-09-24 19:40:54 -07:00
parent 1ef167602e
commit 6712ed15aa
1 changed files with 2 additions and 1 deletions

View File

@ -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 {