From e31d75eca8224766f22351f25f727b835d336dbc Mon Sep 17 00:00:00 2001 From: Travis Harrington Date: Thu, 29 Dec 2016 09:16:52 -0700 Subject: [PATCH] Quick fix for issue #4340 --- builder/amazon/chroot/step_snapshot.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/builder/amazon/chroot/step_snapshot.go b/builder/amazon/chroot/step_snapshot.go index f003ee66a..4761abed6 100644 --- a/builder/amazon/chroot/step_snapshot.go +++ b/builder/amazon/chroot/step_snapshot.go @@ -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 }