From 6712ed15aaf561d0a4546c46e5a76b24b5494ade Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Wed, 24 Sep 2014 19:40:54 -0700 Subject: [PATCH] terraform: clarify comment --- terraform/context.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/terraform/context.go b/terraform/context.go index c49a1384d..213a6b79d 100644 --- a/terraform/context.go +++ b/terraform/context.go @@ -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 {