Print in the output the security group name too.
This commit is contained in:
parent
056104ace4
commit
ae03dab920
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue