amazon builders now handle templating of user_data and user_data_file

This commit is contained in:
Florian Noeding 2014-05-20 17:55:48 +02:00
parent 79d55c20b3
commit e932ec6978
1 changed files with 2 additions and 0 deletions

View File

@ -98,6 +98,8 @@ func (c *RunConfig) Prepare(t *packer.ConfigTemplate) []error {
"temporary_key_pair_name": &c.TemporaryKeyPairName,
"vpc_id": &c.VpcId,
"availability_zone": &c.AvailabilityZone,
"user_data": &c.UserData,
"user_data_file": &c.UserDataFile,
}
for n, ptr := range templates {