mirror of
https://github.com/hashicorp/packer.git
synced 2026-06-08 16:22:15 -04:00
builder/amazon/common: modify output for AMI copy
This commit is contained in:
parent
c66bb8813f
commit
42beac4516
1 changed files with 2 additions and 1 deletions
|
|
@ -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])
|
||||
|
|
|
|||
Loading…
Reference in a new issue