Add 3 new Amazon AWS regions (#19687)

This commit is contained in:
joernheissler 2016-12-30 16:32:21 +01:00 committed by Ryan Brown
parent e2c50baf3f
commit a5145a41a8
2 changed files with 8 additions and 3 deletions

View file

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

View file

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