Add "spot_price" param into template processing
This commit is contained in:
parent
a411405628
commit
3a74c469e5
|
@ -91,6 +91,7 @@ func (c *RunConfig) Prepare(t *packer.ConfigTemplate) []error {
|
||||||
templates := map[string]*string{
|
templates := map[string]*string{
|
||||||
"iam_instance_profile": &c.IamInstanceProfile,
|
"iam_instance_profile": &c.IamInstanceProfile,
|
||||||
"instance_type": &c.InstanceType,
|
"instance_type": &c.InstanceType,
|
||||||
|
"spot_price": &c.SpotPrice,
|
||||||
"ssh_timeout": &c.RawSSHTimeout,
|
"ssh_timeout": &c.RawSSHTimeout,
|
||||||
"ssh_username": &c.SSHUsername,
|
"ssh_username": &c.SSHUsername,
|
||||||
"ssh_private_key_file": &c.SSHPrivateKeyFile,
|
"ssh_private_key_file": &c.SSHPrivateKeyFile,
|
||||||
|
|
Loading…
Reference in New Issue