Skip to content

Cloud sql connection support #1500

@etabacchi

Description

@etabacchi

Hi, we have a cloud sql instance with some iam users that can access to our postgres dbs, in order to access it right now we start a cloud sql proxy on a bastion-vm with the iam token of the user, we do it on the moment because the token changes based on the user and we cant have multiple proxies always running for each one.

For clarity the command we run right now to connect looks something like this gcloud compute ssh $BASTION_VM --project=$PROJECT_ID --zone=$ZONE --tunnel-through-iap --ssh-flag="-L $LOCAL_PORT:$SOCKET_FOLDER/.s.PGSQL.5432" -- /cloud_sql_proxy --private-ip --auto-iam-authn --token.

I'm aware that the documentation says that the connection to cloud sql is not possible yet but are there plans for adding support for it in future releases? Could that cover also cases like ours? I think it could be very handy

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions