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

Print in the output the temporary security group name too.
This commit is contained in:
Matthew Hooker 2017-06-09 12:59:03 -07:00 committed by GitHub
commit 6231ec3569
1 changed files with 2 additions and 2 deletions

View File

@ -49,8 +49,8 @@ func (s *StepSecurityGroup) Run(state multistep.StateBag) multistep.StepAction {
} }
// Create the group // 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) log.Printf("Temporary group name: %s", groupName)
group := &ec2.CreateSecurityGroupInput{ group := &ec2.CreateSecurityGroupInput{
GroupName: &groupName, GroupName: &groupName,