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:
commit
6231ec3569
|
@ -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