mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #29504 from rallytime/fix-12072
Document userdata_file option for EC2 driver
This commit is contained in:
commit
de7f3d5a59
2 changed files with 13 additions and 0 deletions
|
@ -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.
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue