Merge pull request #4997 from Constantin07/add-sg-name-to-output

Print in the output the temporary security group name too.
pull/4998/head
Matthew Hooker 9 years ago committed by GitHub
commit 6231ec3569

@ -49,8 +49,8 @@ func (s *StepSecurityGroup) Run(state multistep.StateBag) multistep.StepAction {
}
// Create the group
ui.Say("Creating temporary security group for this instance...")
groupName := fmt.Sprintf("packer %s", uuid.TimeOrderedUUID())
groupName := fmt.Sprintf("packer_%s", uuid.TimeOrderedUUID())
ui.Say(fmt.Sprintf("Creating temporary security group for this instance: %s", groupName))
log.Printf("Temporary group name: %s", groupName)
group := &ec2.CreateSecurityGroupInput{
GroupName: &groupName,

Loading…
Cancel
Save