From 972dcc2b2512bda8cf95c9198d08b7744aae7477 Mon Sep 17 00:00:00 2001 From: Marin Salinas Date: Mon, 11 Feb 2019 12:51:05 -0600 Subject: [PATCH] feature: bsu, run implementation add steps after createOMI step --- builder/osc/bsu/builder.go | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/builder/osc/bsu/builder.go b/builder/osc/bsu/builder.go index 3c534b206..833017dd3 100644 --- a/builder/osc/bsu/builder.go +++ b/builder/osc/bsu/builder.go @@ -189,6 +189,16 @@ func (b *Builder) Run(ui packer.Ui, hook packer.Hook, cache packer.Cache) (packe Regions: b.config.OMIRegions, }, &stepCreateOMI{}, + &osccommon.StepUpdateOMIAttributes{ + AccountIds: b.config.OMIAccountIDs, + SnapshotAccountIds: b.config.SnapshotAccountIDs, + Ctx: b.config.ctx, + }, + &osccommon.StepCreateTags{ + Tags: b.config.OMITags, + SnapshotTags: b.config.SnapshotTags, + Ctx: b.config.ctx, + }, } b.runner = common.NewRunner(steps, b.config.PackerConfig, ui)