mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #30186 from rallytime/fix-29951
Update CLI Examples in boto_ec2 module to reflect correct arg/kwarg positioning
This commit is contained in:
commit
54b9641330
1 changed files with 2 additions and 3 deletions
|
@ -408,7 +408,7 @@ def get_attribute(attribute, instance_name=None, instance_id=None, region=None,
|
|||
|
||||
.. code-block:: bash
|
||||
|
||||
salt myminion boto_ec2.get_attribute name=my_instance attribute=sourceDestCheck
|
||||
salt myminion boto_ec2.get_attribute sourceDestCheck instance_name=my_instance
|
||||
|
||||
Available attributes:
|
||||
* instanceType
|
||||
|
@ -461,8 +461,7 @@ def set_attribute(attribute, attribute_value, instance_name=None, instance_id=No
|
|||
|
||||
.. code-block:: bash
|
||||
|
||||
salt myminion boto_ec2.set_attribute instance_name=my_instance \
|
||||
attribute=sourceDestCheck attribute_value=False
|
||||
salt myminion boto_ec2.set_attribute sourceDestCheck False instance_name=my_instance
|
||||
|
||||
Available attributes:
|
||||
* instanceType
|
||||
|
|
Loading…
Add table
Reference in a new issue