Skip to content

Commit

Permalink
Make sure studio can hit meta via network policy
Browse files Browse the repository at this point in the history
  • Loading branch information
mogul committed Dec 8, 2024
1 parent aa6c5e4 commit cd643ac
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions supabase/studio.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}

0 comments on commit cd643ac

Please sign in to comment.