Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

amazon: added boto3_conn to GUIDELINES.md #20305

Merged
merged 2 commits into from
Jan 17, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
11 changes: 5 additions & 6 deletions lib/ansible/modules/cloud/amazon/GUIDELINES.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,13 +112,12 @@ if my_new_feauture_Parameter_is_set:
### Connecting to AWS

To connect to AWS, you should use `get_aws_connection_info` and then
`connect_to_aws`.
`boto3_conn` (or `connect_to_aws` for boto).

The reason for using `get_aws_connection_info` and `connect_to_aws` rather than doing it
yourself is that they handle some of the more esoteric connection
options such as security tokens and boto profiles.
These functions handle some of the more esoteric connection options, such as security tokens and
boto profiles.

Some boto services require region to be specified. You should check for the region parameter if required.
Some boto services require that the region is specified. You should check for the region parameter if required.

#### boto

Expand Down Expand Up @@ -295,4 +294,4 @@ across VPCs.

Pass any JSON policy dict to this function in order to sort any list contained therein. This is useful
because AWS rarely return lists in the same order that they were submitted so without this function, comparison
of identical policies returns false.
of identical policies returns false.