diff --git a/lib/ansible/modules/cloud/amazon/_ec2_ami_search.py b/lib/ansible/modules/cloud/amazon/_ec2_ami_search.py index 7984b67a29..4e3189f5e7 100644 --- a/lib/ansible/modules/cloud/amazon/_ec2_ami_search.py +++ b/lib/ansible/modules/cloud/amazon/_ec2_ami_search.py @@ -56,9 +56,9 @@ options: description: EC2 region required: false default: us-east-1 - choices: ["ap-northeast-1", "ap-southeast-1", "ap-southeast-2", - "eu-central-1", "eu-west-1", "sa-east-1", "us-east-1", - "us-west-1", "us-west-2", "us-gov-west-1"] + choices: ["ap-northeast-1", "ap-southeast-1", "ap-northeast-2", + "ap-southeast-2", "eu-central-1", "eu-west-1", "sa-east-1", + "us-east-1", "us-west-1", "us-west-2", "us-gov-west-1"] virt: description: virutalization type required: false @@ -88,7 +88,9 @@ SUPPORTED_DISTROS = ['ubuntu'] AWS_REGIONS = ['ap-northeast-1', 'ap-southeast-1', + 'ap-northeast-2', 'ap-southeast-2', + 'ap-south-1', 'eu-central-1', 'eu-west-1', 'sa-east-1', diff --git a/lib/ansible/modules/cloud/amazon/ec2_facts.py b/lib/ansible/modules/cloud/amazon/ec2_facts.py index e63e625fa2..31142b2cee 100644 --- a/lib/ansible/modules/cloud/amazon/ec2_facts.py +++ b/lib/ansible/modules/cloud/amazon/ec2_facts.py @@ -64,6 +64,7 @@ class Ec2Metadata(object): 'ap-northeast-2', 'ap-southeast-1', 'ap-southeast-2', + 'ap-south-1', 'eu-central-1', 'eu-west-1', 'sa-east-1',