Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

Add lat long for aws regions (#30376)

Joshen Lim0b5573ecb51a
diff --git a/apps/studio/components/interfaces/Settings/Infrastructure/InfrastructureConfiguration/InstanceConfiguration.constants.ts b/apps/studio/components/interfaces/Settings/Infrastructure/InfrastructureConfiguration/InstanceConfiguration.constants.ts
index 36c994eeb44..40dc9aaa882 100644
--- a/apps/studio/components/interfaces/Settings/Infrastructure/InfrastructureConfiguration/InstanceConfiguration.constants.ts
+++ b/apps/studio/components/interfaces/Settings/Infrastructure/InfrastructureConfiguration/InstanceConfiguration.constants.ts
@@ -25,7 +25,7 @@ export const REPLICA_STATUS: {
INIT_READ_REPLICA_FAILED: 'INIT_READ_REPLICA_FAILED',
}
-// [Joshen] Coordinates from https://github.com/jsonmaur/aws-regions/issues/11
+// [Joshen] Coordinates from https://github.com/tobilg/aws-edge-locations/blob/main/data/aws-edge-locations.json
// In the format of [lon, lat]
export const AWS_REGIONS_COORDINATES: { [key: string]: [number, number] } = {
SOUTHEAST_ASIA: [103.8, 1.37],
@@ -40,10 +40,10 @@ export const AWS_REGIONS_COORDINATES: { [key: string]: [number, number] } = {
SOUTH_ASIA: [72.88, 19.08],
OCEANIA: [151.2, -33.86],
SOUTH_AMERICA: [-46.38, -23.34],
-
- // CENTRAL_EU_2: To find,
+ // [Joshen] These regions are not supported yet, just need to uncomment them once ready
+ // CENTRAL_EU_2: [8.54, 47.45],
// EAST_US_2: [-83, 39.96],
- // NORTH_EU: To find,
+ // NORTH_EU: [17.91, 59.65],
// WEST_EU_3: [2.35, 48.86],
}