From bb80316afa54fe72d821a318c29adf02d90a5c45 Mon Sep 17 00:00:00 2001
From: Andrea Scarpino <me@andreascarpino.it>
Date: Sat, 23 Feb 2019 00:11:05 +0100
Subject: [PATCH] ec2: minor fix in the documentation (#52686)

AWS_REGION is also read (in addition to EC2_REGION)
---
 lib/ansible/modules/cloud/amazon/ec2.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/ansible/modules/cloud/amazon/ec2.py b/lib/ansible/modules/cloud/amazon/ec2.py
index f7130b723c..e99731618b 100644
--- a/lib/ansible/modules/cloud/amazon/ec2.py
+++ b/lib/ansible/modules/cloud/amazon/ec2.py
@@ -49,7 +49,7 @@ options:
     version_added: "1.2"
     description:
       - The AWS region to use.  Must be specified if ec2_url is not used.
-        If not specified then the value of the EC2_REGION environment variable, if any, is used.
+        If not specified then the value of the AWS_REGION or EC2_REGION environment variable, if any, is used.
         See U(https://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region).
     aliases: [ 'aws_region', 'ec2_region' ]
   zone: