From 3b19b838065a14a895002ecf263f5b61af4d71da Mon Sep 17 00:00:00 2001 From: James Cammarata Date: Thu, 21 Aug 2014 16:12:05 -0500 Subject: [PATCH] Add GovCloud region to list of regions for AWS Fixes #8604 --- lib/ansible/module_utils/ec2.py | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/lib/ansible/module_utils/ec2.py b/lib/ansible/module_utils/ec2.py index 98f9da92d49..6400e74f373 100644 --- a/lib/ansible/module_utils/ec2.py +++ b/lib/ansible/module_utils/ec2.py @@ -32,14 +32,17 @@ try: except: HAS_LOOSE_VERSION = False -AWS_REGIONS = ['ap-northeast-1', - 'ap-southeast-1', - 'ap-southeast-2', - 'eu-west-1', - 'sa-east-1', - 'us-east-1', - 'us-west-1', - 'us-west-2'] +AWS_REGIONS = [ + 'ap-northeast-1', + 'ap-southeast-1', + 'ap-southeast-2', + 'eu-west-1', + 'sa-east-1', + 'us-east-1', + 'us-west-1', + 'us-west-2', + 'us-gov-west-1', +] def aws_common_argument_spec():