amazon builders now handle templating of user_data and user_data_file
This commit is contained in:
parent
79d55c20b3
commit
e932ec6978
|
@ -98,6 +98,8 @@ func (c *RunConfig) Prepare(t *packer.ConfigTemplate) []error {
|
||||||
"temporary_key_pair_name": &c.TemporaryKeyPairName,
|
"temporary_key_pair_name": &c.TemporaryKeyPairName,
|
||||||
"vpc_id": &c.VpcId,
|
"vpc_id": &c.VpcId,
|
||||||
"availability_zone": &c.AvailabilityZone,
|
"availability_zone": &c.AvailabilityZone,
|
||||||
|
"user_data": &c.UserData,
|
||||||
|
"user_data_file": &c.UserDataFile,
|
||||||
}
|
}
|
||||||
|
|
||||||
for n, ptr := range templates {
|
for n, ptr := range templates {
|
||||||
|
|
Loading…
Reference in New Issue