0

I am using firebase functions and Cloud Storage triggers(.onCreate).

I have to connect AWS RDS(mysql) and vpc is enable in aws rds.

I have to whitelist IP to connect aws-rds so please let me know how we will get the firebase function and cloud storage trigger IP.

Mayank Awasthi
  • 491
  • 2
  • 9

1 Answers1

0

I don't think it's possible to get an ip address(es) in order to whitelist a cloud function instance by ip, check this post.

The only workaround I could think of is using Google Cloud SQL

Andres S
  • 1,168
  • 7
  • 11
  • Now, GCP has an alternative that could be useful, you can find the details in this link. For this to work, you will need to deploy a GCP Cloud Function, which is not exactly the same as a Cloud Function for Firebase; check the following quickstart for more details: https://cloud.google.com/functions/docs/quickstart It's worth a try. – Mayank Awasthi Mar 05 '20 at 08:41