Merge pull request #2022 from mefellows/issue/2021

Report error during Temporary Security Group creation in AWS EBS builder
This commit is contained in:
Mitchell Hashimoto 2015-05-28 08:32:55 -07:00
commit 11e2fad6d0
1 changed files with 1 additions and 0 deletions

View File

@ -46,6 +46,7 @@ func (s *StepSecurityGroup) Run(state multistep.StateBag) multistep.StepAction {
groupResp, err := ec2conn.CreateSecurityGroup(group)
if err != nil {
ui.Error(err.Error())
state.Put("error", err)
return multistep.ActionHalt
}