From ac0b4bbcf73d37612f86e07a950c9d20c1e6b9d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anton=20Gr=C3=BCbel?= Date: Fri, 5 Mar 2021 11:36:34 +0100 Subject: [PATCH] Fix Osaka region problem (#3751) --- moto/ec2/models.py | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/moto/ec2/models.py b/moto/ec2/models.py index 1e353c04e..bfb366d67 100644 --- a/moto/ec2/models.py +++ b/moto/ec2/models.py @@ -1778,9 +1778,19 @@ class RegionsAndZonesBackend(object): "ap-northeast-3": [ Zone( region_name="ap-northeast-3", - name="ap-northeast-2a", + name="ap-northeast-3a", zone_id="apne3-az1", - ) + ), + Zone( + region_name="ap-northeast-3", + name="ap-northeast-3b", + zone_id="apne3-az2", + ), + Zone( + region_name="ap-northeast-3", + name="ap-northeast-3c", + zone_id="apne3-az3", + ), ], "ap-northeast-2": [ Zone( @@ -1788,11 +1798,21 @@ class RegionsAndZonesBackend(object): name="ap-northeast-2a", zone_id="apne2-az1", ), + Zone( + region_name="ap-northeast-2", + name="ap-northeast-2b", + zone_id="apne2-az2", + ), Zone( region_name="ap-northeast-2", name="ap-northeast-2c", zone_id="apne2-az3", ), + Zone( + region_name="ap-northeast-2", + name="ap-northeast-2d", + zone_id="apne2-az4", + ), ], "ap-northeast-1": [ Zone(