You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,6 +20,7 @@ cloud_sql_proxy takes a few arguments to configure:
20
20
directory indicated by `-dir` is mounted.
21
21
*`-instances="project1:region:instance1,project3:region:instance1"`: A comma-separated list
22
22
of instances to open inside `-dir`. Also supports exposing a tcp port instead of using Unix Domain Sockets; see examples below.
23
+
Same list can be provided via INSTANCES environment variable, in case when both are provided - proxy will use command line flag.
23
24
*`-instances_metadata=metadata_key`: Usable on [GCE](https://cloud.google.com/compute/docs/quickstart) only. The given [GCE metadata](https://cloud.google.com/compute/docs/metadata) key will be
24
25
polled for a list of instances to open in `-dir`. The format for the value is the same as the 'instances' flag. A hanging-poll strategy is used, meaning that changes to
25
26
the metadata value will be reflected in the `-dir` even while the proxy is
0 commit comments