From 44b7c49c90806eafddd86ee263d1999ba4c0fb1a Mon Sep 17 00:00:00 2001 From: Sinny Kumari Date: Apr 27 2018 09:08:23 +0000 Subject: Add AMI regions ca-central-1 and eu-west-2 Signed-off-by: Sinny Kumari --- diff --git a/build.d/globalvar.py b/build.d/globalvar.py index 57c35a0..c7eaeea 100644 --- a/build.d/globalvar.py +++ b/build.d/globalvar.py @@ -322,12 +322,14 @@ EC2_regions = [ region(u'US West (N. California)', u'California', u'us-west-1'), region(u'EU West (Ireland)', u'Ireland', u'eu-west-1'), region(u'EU Central (Frankfurt)', u'Frankfurt', u'eu-central-1'), + region(u'EU West (London)', u'London', u'eu-west-2'), region(u'Asia Pacific SE (Singapore)', u'Singapore', u'ap-southeast-1'), region(u'Asia Pacific NE (Tokyo)', u'Tokyo', u'ap-northeast-1'), region(u'Asia Pacific SE (Sydney)', u'Sydney', u'ap-southeast-2'), region(u'South America East (Sāo Paulo)', u'Saopaolo', u'sa-east-1'), region(u'Asia Pacific (Seoul)', u'Seoul', u'ap-northeast-2'), - region(u'Asia Pacific (Mumbai)', u'Mumbai', u'ap-south-1') + region(u'Asia Pacific (Mumbai)', u'Mumbai', u'ap-south-1'), + region(u'Canada (Central)', u'Central', u'ca-central-1') ] path_stats={ diff --git a/tools/fedimg_vars_lib.py b/tools/fedimg_vars_lib.py index fed4d24..fdfab7d 100755 --- a/tools/fedimg_vars_lib.py +++ b/tools/fedimg_vars_lib.py @@ -116,7 +116,8 @@ def sanity_check(globalvar, collected_fedimg_vars): def mocked_fedimg(templates): regions = ['us-east-1', 'ap-northeast-1', 'sa-east-1', 'ap-southeast-1', 'ap-southeast-2', - 'us-west-2', 'us-west-1', 'eu-central-1', 'eu-west-1', 'ap-northeast-2', 'ap-south-1'] + 'us-west-2', 'us-west-1', 'eu-central-1', 'eu-west-1', 'ap-northeast-2', + 'ap-south-1', 'ca-central-1', 'eu-west-2'] mockdata = {} for region in regions: mockdata[region] = 'ami-mocked'