From e932ec69782a803e7e1c93be2ee5c3130bc44647 Mon Sep 17 00:00:00 2001 From: Florian Noeding Date: Tue, 20 May 2014 17:55:48 +0200 Subject: [PATCH] amazon builders now handle templating of user_data and user_data_file --- builder/amazon/common/run_config.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/builder/amazon/common/run_config.go b/builder/amazon/common/run_config.go index c50c22f7e..e3805c229 100644 --- a/builder/amazon/common/run_config.go +++ b/builder/amazon/common/run_config.go @@ -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 {