Add 3 new Amazon AWS regions (#19687)

pull/19316/merge
joernheissler 8 years ago committed by Ryan Brown
parent e2c50baf3f
commit a5145a41a8

@ -61,8 +61,9 @@ options:
required: false required: false
default: us-east-1 default: us-east-1
choices: ["ap-northeast-1", "ap-southeast-1", "ap-northeast-2", choices: ["ap-northeast-1", "ap-southeast-1", "ap-northeast-2",
"ap-southeast-2", "eu-central-1", "eu-west-1", "sa-east-1", "ap-southeast-2", "ca-central-1", "eu-central-1", "eu-west-1",
"us-east-1", "us-west-1", "us-west-2", "us-gov-west-1"] "eu-west-2", "sa-east-1", "us-east-1", "us-east-2", "us-west-1",
"us-west-2", "us-gov-west-1"]
virt: virt:
description: virutalization type description: virutalization type
required: false required: false
@ -103,15 +104,17 @@ AWS_REGIONS = ['ap-northeast-1',
'ap-northeast-2', 'ap-northeast-2',
'ap-southeast-2', 'ap-southeast-2',
'ap-south-1', 'ap-south-1',
'ca-central-1',
'eu-central-1', 'eu-central-1',
'eu-west-1', 'eu-west-1',
'eu-west-2',
'sa-east-1', 'sa-east-1',
'us-east-1', 'us-east-1',
'us-east-2',
'us-west-1', 'us-west-1',
'us-west-2', 'us-west-2',
"us-gov-west-1"] "us-gov-west-1"]
def get_url(module, url): def get_url(module, url):
""" Get url and return response """ """ Get url and return response """

@ -73,8 +73,10 @@ class Ec2Metadata(object):
'ca-central-1', 'ca-central-1',
'eu-central-1', 'eu-central-1',
'eu-west-1', 'eu-west-1',
'eu-west-2',
'sa-east-1', 'sa-east-1',
'us-east-1', 'us-east-1',
'us-east-2',
'us-west-1', 'us-west-1',
'us-west-2', 'us-west-2',
'us-gov-west-1' 'us-gov-west-1'

Loading…
Cancel
Save