It would be great if this would be possible to set. thanks.
The terraform run fails when specifying endpoint = "cloudsql://<INSTANCE>":
Debug Output
│ Error: failed getting database from Meta: failed to connect to MySQL: could not create new connection: could not connect to server: Config error: instance does not have IP of type "PUBLIC" (connection name = "<INSTANCE>")
Hi
We're using for our Cloud SQL instances private ip option. The
cloud.google.com/go/cloudsqlconn
has the necessary https://pkg.go.dev/cloud.google.com/go/cloudsqlconn#WithPrivateIP option but it's missing at the provider.It would be great if this would be possible to set. thanks.
The terraform run fails when specifying
endpoint = "cloudsql://<INSTANCE>"
:Debug Output
│ Error: failed getting database from Meta: failed to connect to MySQL: could not create new connection: could not connect to server: Config error: instance does not have IP of type "PUBLIC" (connection name = "<INSTANCE>")
References