builder/ebssurrogate: Use correct devices for AMI.

pull/4972/head
Matthew Hooker 9 years ago
parent e8607d0c96
commit 769ff28e03
No known key found for this signature in database
GPG Key ID: 7B5F933D9CE8C6A1

@ -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,

Loading…
Cancel
Save