From 769ff28e03e9d25bafc5accda2db378f28ebc2bd Mon Sep 17 00:00:00 2001 From: Matthew Hooker Date: Tue, 6 Jun 2017 12:33:08 -0700 Subject: [PATCH] builder/ebssurrogate: Use correct devices for AMI. --- builder/amazon/ebssurrogate/builder.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builder/amazon/ebssurrogate/builder.go b/builder/amazon/ebssurrogate/builder.go index 2fe17d149..c0d680071 100644 --- a/builder/amazon/ebssurrogate/builder.go +++ b/builder/amazon/ebssurrogate/builder.go @@ -209,7 +209,7 @@ func (b *Builder) Run(ui packer.Ui, hook packer.Hook, cache packer.Cache) (packe }, &StepRegisterAMI{ RootDevice: b.config.RootDevice, - BlockDevices: b.config.BlockDevices.BuildLaunchDevices(), + BlockDevices: b.config.BlockDevices.BuildAMIDevices(), }, &awscommon.StepCreateEncryptedAMICopy{ KeyID: b.config.AMIKmsKeyId,