From 42beac4516c2206daea4e8747f4ae539bd056a5e Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Thu, 22 Aug 2013 15:32:24 -0700 Subject: [PATCH] builder/amazon/common: modify output for AMI copy --- builder/amazon/common/step_ami_region_copy.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/builder/amazon/common/step_ami_region_copy.go b/builder/amazon/common/step_ami_region_copy.go index 5c9b32cdd..99bb35c3c 100644 --- a/builder/amazon/common/step_ami_region_copy.go +++ b/builder/amazon/common/step_ami_region_copy.go @@ -23,8 +23,9 @@ func (s *StepAMIRegionCopy) Run(state map[string]interface{}) multistep.StepActi return multistep.ActionContinue } + ui.Say(fmt.Sprintf("Copying AMI (%s) to other regions...", ami)) for _, region := range s.Regions { - ui.Say(fmt.Sprintf("Copying AMI (%s) to region (%s)...", ami, region)) + ui.Message(fmt.Sprintf("Copying to: %s", region)) // Connect to the region where the AMI will be copied to regionconn := ec2.New(ec2conn.Auth, aws.Regions[region])