GoogleCloudPlatform / pontem

Open source tools for Google Cloud Storage and Databases.
Apache License 2.0
63 stars 15 forks source link

[CloudSQLReplicator] Add allow firewall rule if in GCP #219

Closed cdrake closed 5 years ago

cdrake commented 5 years ago

Added code to determine if host is in GCP, determine ip from metadata server and add allow firewall rule.