Add "spot_price" param into template processing

This commit is contained in:
Henry Huang 2014-05-10 18:08:46 +08:00
parent a411405628
commit 3a74c469e5
1 changed files with 1 additions and 0 deletions

View File

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