From 4a494627372e84d829c77f197bf857456987f19b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Filipe=20Caba=C3=A7o?= Date: Wed, 13 Sep 2023 17:52:21 +0100 Subject: [PATCH 1/2] fix: Properly map us-west-2 connections --- lib/realtime/postgres_cdc.ex | 1 + mix.exs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/realtime/postgres_cdc.ex b/lib/realtime/postgres_cdc.ex index 2965ec177..ecdc61960 100644 --- a/lib/realtime/postgres_cdc.ex +++ b/lib/realtime/postgres_cdc.ex @@ -72,6 +72,7 @@ defmodule Realtime.PostgresCdc do defp region_mapping(:aws, tenant_region) do case tenant_region do "us-west-1" -> "us-west-1" + "us-west-2" -> "us-west-2" "us-east-1" -> "us-east-1" "sa-east-1" -> "us-east-1" "ca-central-1" -> "us-east-1" diff --git a/mix.exs b/mix.exs index 51fa9d352..8600025e0 100644 --- a/mix.exs +++ b/mix.exs @@ -4,7 +4,7 @@ defmodule Realtime.MixProject do def project do [ app: :realtime, - version: "2.22.16", + version: "2.22.17", elixir: "~> 1.14.0", elixirc_paths: elixirc_paths(Mix.env()), start_permanent: Mix.env() == :prod, From 851032e9af202eafacc4524887914b11a293fddd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Filipe=20Caba=C3=A7o?= Date: Wed, 13 Sep 2023 17:56:58 +0100 Subject: [PATCH 2/2] move us-west-1 to us-west-2 --- lib/realtime/postgres_cdc.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/realtime/postgres_cdc.ex b/lib/realtime/postgres_cdc.ex index ecdc61960..147d27124 100644 --- a/lib/realtime/postgres_cdc.ex +++ b/lib/realtime/postgres_cdc.ex @@ -71,7 +71,7 @@ defmodule Realtime.PostgresCdc do defp region_mapping(:aws, tenant_region) do case tenant_region do - "us-west-1" -> "us-west-1" + "us-west-1" -> "us-west-2" "us-west-2" -> "us-west-2" "us-east-1" -> "us-east-1" "sa-east-1" -> "us-east-1"