summaryrefslogtreecommitdiff
path: root/contrib/inventory/ec2.py
diff options
context:
space:
mode:
authorAbhijeet Kasurde <akasurde@redhat.com>2017-06-12 12:25:19 +0530
committerJohn R Barker <john@johnrbarker.com>2017-06-12 07:55:19 +0100
commitb89cb956092e6f28d16010dc887ee2dc46e7855b (patch)
tree0162132b7c833888bc16a32c6d5e251245aedd03 /contrib/inventory/ec2.py
parent460d932aa8e8fbdc0c72057e2e43f6e98d1d590c (diff)
downloadansible-b89cb956092e6f28d16010dc887ee2dc46e7855b.tar.gz
Fix spelling mistakes (comments only) (#25564)
Original Author : klemens <ka7@github.com> Taking over previous PR as per https://github.com/ansible/ansible/pull/23644#issuecomment-307334525 Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
Diffstat (limited to 'contrib/inventory/ec2.py')
-rwxr-xr-xcontrib/inventory/ec2.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/inventory/ec2.py b/contrib/inventory/ec2.py
index 0f4bf2a8fd..589cef4919 100755
--- a/contrib/inventory/ec2.py
+++ b/contrib/inventory/ec2.py
@@ -12,7 +12,7 @@ variables needed for Boto have already been set:
export AWS_ACCESS_KEY_ID='AK123'
export AWS_SECRET_ACCESS_KEY='abc123'
-optional region environement variable if region is 'auto'
+optional region environment variable if region is 'auto'
This script also assumes there is an ec2.ini file alongside it. To specify a
different path to ec2.ini, define the EC2_INI_PATH environment variable:
@@ -723,7 +723,7 @@ class Ec2Inventory(object):
''' Makes an AWS API call to the list of ElastiCache clusters (with
nodes' info) in a particular region.'''
- # ElastiCache boto module doesn't provide a get_all_intances method,
+ # ElastiCache boto module doesn't provide a get_all_instances method,
# that's why we need to call describe directly (it would be called by
# the shorthand method anyway...)
try:
@@ -759,7 +759,7 @@ class Ec2Inventory(object):
''' Makes an AWS API call to the list of ElastiCache replication groups
in a particular region.'''
- # ElastiCache boto module doesn't provide a get_all_intances method,
+ # ElastiCache boto module doesn't provide a get_all_instances method,
# that's why we need to call describe directly (it would be called by
# the shorthand method anyway...)
try: