builder/ebssurrogate: Use correct devices for AMI.

This commit is contained in:
Matthew Hooker 2017-06-06 12:33:08 -07:00
parent e8607d0c96
commit 769ff28e03
No known key found for this signature in database
GPG Key ID: 7B5F933D9CE8C6A1
1 changed files with 1 additions and 1 deletions

View File

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