Merge pull request #4972 from hashicorp/new4835

builder/ebssurrogate: Use correct devices for AMI.
pull/4975/head
Matthew Hooker 9 years ago committed by GitHub
commit ce0b19b495

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