builder/amazon/common: modify output for AMI copy

This commit is contained in:
Mitchell Hashimoto 2013-08-22 15:32:24 -07:00
parent c66bb8813f
commit 42beac4516
1 changed files with 2 additions and 1 deletions

View File

@ -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])