|
|
@ -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 """
|
|
|
|
|
|
|
|
|
|
|
|