Fix for #16518 - added missing regions

This commit is contained in:
Hrishikesh Barua 2016-06-30 17:53:15 +05:30 committed by Matt Clay
parent 1a4804cc60
commit cf9bfc3459
2 changed files with 6 additions and 3 deletions

View file

@ -56,9 +56,9 @@ options:
description: EC2 region description: EC2 region
required: false required: false
default: us-east-1 default: us-east-1
choices: ["ap-northeast-1", "ap-southeast-1", "ap-southeast-2", choices: ["ap-northeast-1", "ap-southeast-1", "ap-northeast-2",
"eu-central-1", "eu-west-1", "sa-east-1", "us-east-1", "ap-southeast-2", "eu-central-1", "eu-west-1", "sa-east-1",
"us-west-1", "us-west-2", "us-gov-west-1"] "us-east-1", "us-west-1", "us-west-2", "us-gov-west-1"]
virt: virt:
description: virutalization type description: virutalization type
required: false required: false
@ -88,7 +88,9 @@ SUPPORTED_DISTROS = ['ubuntu']
AWS_REGIONS = ['ap-northeast-1', AWS_REGIONS = ['ap-northeast-1',
'ap-southeast-1', 'ap-southeast-1',
'ap-northeast-2',
'ap-southeast-2', 'ap-southeast-2',
'ap-south-1',
'eu-central-1', 'eu-central-1',
'eu-west-1', 'eu-west-1',
'sa-east-1', 'sa-east-1',

View file

@ -64,6 +64,7 @@ class Ec2Metadata(object):
'ap-northeast-2', 'ap-northeast-2',
'ap-southeast-1', 'ap-southeast-1',
'ap-southeast-2', 'ap-southeast-2',
'ap-south-1',
'eu-central-1', 'eu-central-1',
'eu-west-1', 'eu-west-1',
'sa-east-1', 'sa-east-1',