FeatureFuel
1

Edge functions: regional invocation with an array of allowed regions

Source: supabase/supabase#34527 · opened by @nurulualp
Currently one region can be selected with x-region for regional invocation. However, I could not confirm if there is re-routing or not if selected region has an outage. I submitted a bug report for this. This might create compliance issues if request re-routes to an unwanted region. Also, even if the feature is working correctly, being able to select only one region might create service interruptions to the user when the selected region is down or might experience latency. If there is an allowed list, it can solve this issue. Proposed request with a new header 'x-allowed-regions' :

curl --request POST ' \
--header 'Authorization: Bearer ANON_KEY' \
--header 'Content-Type: application/json' \
--header 'x-allowed-regions: ["eu-central-1", "eu-west-1", "eu-west-2", "eu-west-3"]' \
--data '{ "name":"Functions" }'

No pledges yet. Be the first to back this.

Make a pledge

Pledge your monetary support if this feature is added.

$

Comments

No comments yet.

Replying to

Add a comment

What do you think about this feature request?


Similar requests