Merge pull request #29504 from rallytime/fix-12072

Document userdata_file option for EC2 driver
This commit is contained in:
Mike Place 2015-12-08 09:54:33 -07:00
commit de7f3d5a59
2 changed files with 13 additions and 0 deletions

View file

@ -321,6 +321,16 @@ The following settings are always required for EC2:
Optional Settings
=================
EC2 allows a userdata file to be passed to the instance to be created. This
functionality was added to Salt in the 2015.5.0 release.
.. code-block:: yaml
my-ec2-config:
# Pass userdata to the instance to be created
userdata_file: /etc/salt/my-userdata-file
EC2 allows a location to be set for servers to be deployed in. Availability
zones exist inside regions, and may be added to increase specificity.

View file

@ -61,6 +61,9 @@ To use the EC2 cloud module, set up the cloud configuration at
# Password defaults to None
ssh_gateway_password: ExamplePasswordHere
# Pass userdata to the instance to be created
userdata_file: /etc/salt/my-userdata-file
provider: ec2
:depends: requests