Allow your public ip to access gcloud sql instances through command line
- Google Cloud CLI
- Node 18
npm install gcloud-patch-sql-firewall -g
gcloud-patch-sql-firewall --gcloud-instance-id=postgresql --gcloud-project-id=my-project-id --gcloud-configuration=default
or
npm run start -- --gcloud-instance-id=postgresql --gcloud-project-id=my-project-id --gcloud-configuration=default
--gcloud-configuration is optional. If not provided, default to "default".
👤 Marcelo Paixão Resende
- Github: @marcelothebuilder
Give a ⭐️ if this project helped you!
This README was generated with ❤️ by readme-md-generator