|
|
|
|
@ -117,21 +117,22 @@ func (b *Builder) Run(ui packer.Ui, hook packer.Hook, cache packer.Cache) (packe
|
|
|
|
|
BlockDevices: b.config.BlockDevices,
|
|
|
|
|
},
|
|
|
|
|
&awscommon.StepRunSourceInstance{
|
|
|
|
|
Debug: b.config.PackerDebug,
|
|
|
|
|
ExpectedRootDevice: "ebs",
|
|
|
|
|
SpotPrice: b.config.SpotPrice,
|
|
|
|
|
SpotPriceProduct: b.config.SpotPriceAutoProduct,
|
|
|
|
|
InstanceType: b.config.InstanceType,
|
|
|
|
|
UserData: b.config.UserData,
|
|
|
|
|
UserDataFile: b.config.UserDataFile,
|
|
|
|
|
SourceAMI: b.config.SourceAmi,
|
|
|
|
|
IamInstanceProfile: b.config.IamInstanceProfile,
|
|
|
|
|
SubnetId: b.config.SubnetId,
|
|
|
|
|
AssociatePublicIpAddress: b.config.AssociatePublicIpAddress,
|
|
|
|
|
EbsOptimized: b.config.EbsOptimized,
|
|
|
|
|
AvailabilityZone: b.config.AvailabilityZone,
|
|
|
|
|
BlockDevices: b.config.BlockDevices,
|
|
|
|
|
Tags: b.config.RunTags,
|
|
|
|
|
Debug: b.config.PackerDebug,
|
|
|
|
|
ExpectedRootDevice: "ebs",
|
|
|
|
|
SpotPrice: b.config.SpotPrice,
|
|
|
|
|
SpotPriceProduct: b.config.SpotPriceAutoProduct,
|
|
|
|
|
InstanceType: b.config.InstanceType,
|
|
|
|
|
UserData: b.config.UserData,
|
|
|
|
|
UserDataFile: b.config.UserDataFile,
|
|
|
|
|
SourceAMI: b.config.SourceAmi,
|
|
|
|
|
IamInstanceProfile: b.config.IamInstanceProfile,
|
|
|
|
|
SubnetId: b.config.SubnetId,
|
|
|
|
|
AssociatePublicIpAddress: b.config.AssociatePublicIpAddress,
|
|
|
|
|
EbsOptimized: b.config.EbsOptimized,
|
|
|
|
|
AvailabilityZone: b.config.AvailabilityZone,
|
|
|
|
|
BlockDevices: b.config.BlockDevices,
|
|
|
|
|
Tags: b.config.RunTags,
|
|
|
|
|
InstanceInitiatedShutdownBehavior: b.config.InstanceInitiatedShutdownBehavior,
|
|
|
|
|
},
|
|
|
|
|
&stepTagEBSVolumes{
|
|
|
|
|
VolumeRunTags: b.config.VolumeRunTags,
|
|
|
|
|
|