builder/amazon: Fix crash in amazon-instance

Closes #4360
This commit is contained in:
Rickard von Essen 2017-01-06 15:17:02 +01:00
parent 377f451a9e
commit 26fe9cf339
No known key found for this signature in database
GPG Key ID: E0C0327388876CBA
1 changed files with 2 additions and 0 deletions

View File

@ -63,6 +63,8 @@ func (s *StepRegisterAMI) Run(state multistep.StateBag) multistep.StepAction {
return multistep.ActionHalt
}
state.Put("snapshots", map[string][]string{})
return multistep.ActionContinue
}