Tuesday, January 16, 2018

[google-cloud-sql-discuss] Re: Cannot connect from cli

The IAM user has Project > Editor permissions (legacy?), if I remove that the error changes to forbidden. Instance has IPV4 address, if I whitelist my ip I can connect using regular postgresql tools.

On Tuesday, January 16, 2018 at 9:40:05 AM UTC-8, Pia Chamberlain wrote:
A couple of things to check-- when you say your IAM account has Editor permission, is that the legacy Project > Editor permission, or the Cloud SQL Editor permission? The former does indeed include the cloudsql.instances.connect permission, but the latter does not. Also, your instance must have an IPv4 address for this command to work.

--
You received this message because you are subscribed to the Google Groups "Google Cloud SQL discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-sql-discuss+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-sql-discuss/69d7d909-fb4c-47fd-8a02-fece7cd5e9b1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment