Report error code during Temporary Security Group creation (#2021)

This commit is contained in:
Matt Fellows 2015-04-07 12:11:34 +10:00
parent b49d74d999
commit a973dce7d3
1 changed files with 1 additions and 0 deletions

View File

@ -44,6 +44,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
}