diff --git a/terraform/node_module_expand.go b/terraform/node_module_expand.go index 1e7d4042a..0c62d47cf 100644 --- a/terraform/node_module_expand.go +++ b/terraform/node_module_expand.go @@ -110,8 +110,8 @@ func (n *evalPrepareModuleExpansion) Eval(ctx EvalContext) (interface{}, error) eachMode = states.EachMap } - // nodeExpandModule itself does not have visibility into how it's ancestors - // were expended, so we use the expander here to provide all possible paths + // nodeExpandModule itself does not have visibility into how its ancestors + // were expanded, so we use the expander here to provide all possible paths // to our module, and register module instances with each of them. for _, path := range expander.ExpandModule(n.Addr.Parent()) { switch eachMode { diff --git a/terraform/node_module_removed.go b/terraform/node_module_removed.go index e47281490..b6ea00bff 100644 --- a/terraform/node_module_removed.go +++ b/terraform/node_module_removed.go @@ -32,7 +32,7 @@ func (n *NodeModuleRemoved) Path() addrs.ModuleInstance { // GraphNodeModulePath implementation func (n *NodeModuleRemoved) ModulePath() addrs.Module { // This node represents the module call within a module, - // so return the CallerAddr as the path as the module + // so return the CallerAddr as the path, as the module // call may expand into multiple child instances return n.Addr.Module() }