Enable the spot_price in "amazon-instance-store" AMI
This commit is contained in:
parent
3980c7dcfd
commit
da29d684a8
@ -200,6 +200,7 @@ func (b *Builder) Run(ui packer.Ui, hook packer.Hook, cache packer.Cache) (packe
|
|||||||
&awscommon.StepRunSourceInstance{
|
&awscommon.StepRunSourceInstance{
|
||||||
Debug: b.config.PackerDebug,
|
Debug: b.config.PackerDebug,
|
||||||
ExpectedRootDevice: "instance-store",
|
ExpectedRootDevice: "instance-store",
|
||||||
|
SpotPrice: b.config.SpotPrice,
|
||||||
InstanceType: b.config.InstanceType,
|
InstanceType: b.config.InstanceType,
|
||||||
IamInstanceProfile: b.config.IamInstanceProfile,
|
IamInstanceProfile: b.config.IamInstanceProfile,
|
||||||
UserData: b.config.UserData,
|
UserData: b.config.UserData,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user