Merge pull request #4341 from rahart/f-chroot-snapshots-crash

amazon-chroot builder snapshot interface panic
This commit is contained in:
Rickard von Essen 2017-01-01 22:13:11 +01:00 committed by GitHub
commit ae2e59634c
1 changed files with 6 additions and 0 deletions

View File

@ -71,6 +71,12 @@ func (s *StepSnapshot) Run(state multistep.StateBag) multistep.StepAction {
}
state.Put("snapshot_id", s.snapshotId)
snapshots := map[string][]string{
*ec2conn.Config.Region: {s.snapshotId},
}
state.Put("snapshots", snapshots)
return multistep.ActionContinue
}