Commit 5df7bc0a authored by Nathan Sullivan's avatar Nathan Sullivan
parent abaacb06
...@@ -86,16 +86,16 @@ func (c *RunConfig) Prepare(t *packer.ConfigTemplate) []error { ...@@ -86,16 +86,16 @@ func (c *RunConfig) Prepare(t *packer.ConfigTemplate) []error {
} }
templates := map[string]*string{ templates := map[string]*string{
"iam_instance_profile": &cc.IamInstanceProfile, "iam_instance_profile": &c.IamInstanceProfile,
"instance_type": &cc.InstanceType, "instance_type": &c.InstanceType,
"ssh_timeout": &cc.RawSSHTimeout, "ssh_timeout": &c.RawSSHTimeout,
"ssh_username": &cc.SSHUsername, "ssh_username": &c.SSHUsername,
"source_ami": &cc.SourceAmi, "source_ami": &c.SourceAmi,
"subnet_id": &cc.SubnetId, "subnet_id": &c.SubnetId,
"associate_public_ip_address": &cc.AssociatePublicIpAddress, "associate_public_ip_address": &c.AssociatePublicIpAddress,
"temporary_key_pair_name": &cc.TemporaryKeyPairName, "temporary_key_pair_name": &c.TemporaryKeyPairName,
"vpc_id": &cc.VpcId, "vpc_id": &c.VpcId,
"availability_zone": &cc.AvailabilityZone, "availability_zone": &c.AvailabilityZone,
} }
for n, ptr := range templates { for n, ptr := range templates {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment