From d3792e4aefcb00fb4f5e39e4055b849119ae6842 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Fri, 19 Aug 2016 23:56:27 -0400 Subject: [PATCH] command: correct outdated comment --- command/state_mv.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/command/state_mv.go b/command/state_mv.go index 8a3c2c1af..37ce53bea 100644 --- a/command/state_mv.go +++ b/command/state_mv.go @@ -141,7 +141,8 @@ func (c *StateMvCommand) addableResult(results []*terraform.StateFilterResult) i return result case *terraform.ResourceState: - // If a module state then we should add the full list of modules + // If a resource state with more than one result, it has a multi-count + // and we need to add all of them. result := []*terraform.ResourceState{v} if len(results) > 1 { for _, r := range results[1:] {