From cd643ac25aa78a0f41d880aa8139ef38ba523585 Mon Sep 17 00:00:00 2001 From: Bret Mogilefsky Date: Sat, 7 Dec 2024 23:16:10 -0800 Subject: [PATCH] Make sure studio can hit meta via network policy --- supabase/studio.tf | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/supabase/studio.tf b/supabase/studio.tf index 27ab916..9ef0bba 100644 --- a/supabase/studio.tf +++ b/supabase/studio.tf @@ -76,3 +76,11 @@ resource "cloudfoundry_app" "supabase-studio" { NEXT_ANALYTICS_BACKEND_PROVIDER : "postgres" } } + +resource "cloudfoundry_network_policy" "studio-meta" { + policy { + source_app = cloudfoundry_app.supabase-studio.id + destination_app = cloudfoundry_app.supabase-meta.id + port = "61443" + } +} \ No newline at end of file