cloud-sql-proxy icon indicating copy to clipboard operation
cloud-sql-proxy copied to clipboard

[v2 CLI flag] --instances_metadata

Open enocom opened this issue 3 years ago • 1 comments

This is a feature request for adding the --instances_metadata flag to v2.

Its description is:

If provided, it is treated as a path to a metadata value which
is polled for a comma-separated list of instances to connect to. For example,
to use the instance metadata value named 'cloud-sql-instances' you would
provide 'instance/attributes/cloud-sql-instances'. Not compatible with -fuse

If this is a useful flag that you'd like to see ported to v2, add a :+1: to this request.

enocom avatar Jul 12 '22 17:07 enocom

This might be covered by https://github.com/GoogleCloudPlatform/cloud-sql-proxy/issues/1045.

enocom avatar Sep 14 '22 14:09 enocom

We're looking at adding support for dynamically configuring instance connection names from multiple sources (secret manager, pub/sub topics connected to a secret, and possibly instance metadata). Let's track that work over on #1045.

enocom avatar Nov 18 '22 19:11 enocom