From d7ca068c3fed57b9b7863514743366b59d5e071f Mon Sep 17 00:00:00 2001 From: Ryan MacLean Date: Thu, 30 Nov 2017 06:58:30 -0800 Subject: [PATCH] [cloud] Typo fixes for ec2 dynamic inventory (#32957) --- contrib/inventory/ec2.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/contrib/inventory/ec2.py b/contrib/inventory/ec2.py index 42cc7a58c4b..e87c324a6ea 100755 --- a/contrib/inventory/ec2.py +++ b/contrib/inventory/ec2.py @@ -12,9 +12,9 @@ variables needed for Boto have already been set: export AWS_ACCESS_KEY_ID='AK123' export AWS_SECRET_ACCESS_KEY='abc123' -optional region environment 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 +This script also assumes that there is an ec2.ini file alongside it. To specify a different path to ec2.ini, define the EC2_INI_PATH environment variable: export EC2_INI_PATH=/path/to/my_ec2.ini @@ -95,7 +95,7 @@ consistency with variable spellings (camelCase and underscores) since this just loops through all variables the object exposes. It is preferred to use the ones with underscores when multiple exist. -In addition, if an instance has AWS Tags associated with it, each tag is a new +In addition, if an instance has AWS tags associated with it, each tag is a new variable named: - ec2_tag_[Key] = [Value]