supabase-on-aws
supabase-on-aws copied to clipboard
Configurable AWS VPC - HOW TO
I think this could be useful for the community. Sometimes we need to deploy Supabase on an existing VPC. Perhaps that VPC have things configured like VPC peering, etc. and we don't want to repeat it manually in the new Supabase VCP.
These changes allow cdk deployments with a configurable VPC:
feat: add
vpc_idas a context parameterrun
cdk deployif you want to deploy your Supabase within new VPC runcdk deploy --context vpc_id=<some_vpcid>if you want to use existing VPC
To implement that, add to your supabase-on-aws repo the changes from this commit https://github.com/supabase-community/supabase-on-aws/commit/dd862eaa791c78d8c60d9bfa7e69e15b5d6deaae