Commit a973dce7 authored by Matt Fellows's avatar Matt Fellows

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

parent b49d74d9
......@@ -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
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment