|
|
|
|
@ -263,7 +263,6 @@ func (b *Builder) Run(ui packer.Ui, hook packer.Hook, cache packer.Cache) (packe
|
|
|
|
|
Ctx: b.config.ctx,
|
|
|
|
|
},
|
|
|
|
|
&awscommon.StepCreateTags{
|
|
|
|
|
AccessConfig: &b.config.AccessConfig,
|
|
|
|
|
Tags: b.config.AMITags,
|
|
|
|
|
SnapshotTags: b.config.SnapshotTags,
|
|
|
|
|
Ctx: b.config.ctx,
|
|
|
|
|
@ -282,7 +281,6 @@ func (b *Builder) Run(ui packer.Ui, hook packer.Hook, cache packer.Cache) (packe
|
|
|
|
|
if amis, ok := state.GetOk("amis"); ok {
|
|
|
|
|
// Build the artifact and return it
|
|
|
|
|
artifact := &awscommon.Artifact{
|
|
|
|
|
AccessConfig: &b.config.AccessConfig,
|
|
|
|
|
Amis: amis.(map[string]string),
|
|
|
|
|
BuilderIdValue: BuilderId,
|
|
|
|
|
Conn: ec2conn,
|
|
|
|
|
|