location-importer.in: Add new Amazon region codes

Message ID 3ffe3c21-d8ef-b16e-b3d7-69132d7aff66@ipfire.org
State Accepted
Commit c9486b13b51fa79414a54619c92352d2004b5eb4
Headers
Series location-importer.in: Add new Amazon region codes |

Commit Message

Peter Müller Sept. 26, 2022, 6:33 p.m. UTC
  Note that the precise location of "ap-southeast-6" is currently
undocumented. However, all IPv4 networks allocated are not routed at the
time of writing, hence our allocation of Asia/Pacific should be
acceptable for the time being.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
---
 src/scripts/location-importer.in | 2 ++
 1 file changed, 2 insertions(+)
  

Patch

diff --git a/src/scripts/location-importer.in b/src/scripts/location-importer.in
index 8d47497..1a37f9e 100644
--- a/src/scripts/location-importer.in
+++ b/src/scripts/location-importer.in
@@ -1341,8 +1341,10 @@  class CLI(object):
 				"ap-southeast-2": "AU",
 				"ap-southeast-3": "MY",
 				"ap-southeast-4": "AU",
+				"ap-southeast-6": "AP", # XXX: Precise location not documented anywhere
 				"ap-northeast-1": "JP",
 				"ca-central-1": "CA",
+				"ca-west-1": "CA",
 				"eu-central-1": "DE",
 				"eu-central-2": "CH",
 				"eu-west-1": "IE",