diff --git a/website/source/docs/builders/amazon-ebs.html.markdown b/website/source/docs/builders/amazon-ebs.html.markdown index a01cbf024..8a1a8ccc8 100644 --- a/website/source/docs/builders/amazon-ebs.html.markdown +++ b/website/source/docs/builders/amazon-ebs.html.markdown @@ -95,6 +95,14 @@ Optional: * `tags` (object of key/value strings) - Tags applied to the AMI. +* `user_data` (string) - User data to apply when launching the instance. + Note that you need to be careful about escaping characters due to the + templates being JSON. It is often more convenient to use `user_data_file`, + instead. + +* `user_data_file` (string) - Path to a file that will be used for the + user data when launching the instance. + * `vpc_id` (string) - If launching into a VPC subnet, Packer needs the VPC ID in order to create a temporary security group within the VPC. diff --git a/website/source/docs/builders/amazon-instance.html.markdown b/website/source/docs/builders/amazon-instance.html.markdown index 01dc61082..3622c2b34 100644 --- a/website/source/docs/builders/amazon-instance.html.markdown +++ b/website/source/docs/builders/amazon-instance.html.markdown @@ -126,6 +126,14 @@ Optional: * `tags` (object of key/value strings) - Tags applied to the AMI. +* `user_data` (string) - User data to apply when launching the instance. + Note that you need to be careful about escaping characters due to the + templates being JSON. It is often more convenient to use `user_data_file`, + instead. + +* `user_data_file` (string) - Path to a file that will be used for the + user data when launching the instance. + * `vpc_id` (string) - If launching into a VPC subnet, Packer needs the VPC ID in order to create a temporary security group within the VPC.