mirror of
https://github.com/hashicorp/packer.git
synced 2026-09-21 23:41:41 -04:00
builder/ebssurrogate: Use correct devices for AMI.
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user