admin管理员组文章数量:1434900
So I have been trying this for some times and I can't figure it out. There are multiple ways as per the chatgpt instructions and not a consistent recommendation thus time for human brain here :)
So I am working with client who has cloud SQL instance and cloud sql Auth installed on their GCP (called it GCP B). In my GCP (GCP A), I have a cloud run application that needs to connect to the database (I assume through cloud auth).
I got the client to add my cloud run default cloud run GCP A service account [email protected] to his IAM roles with cloud sql client role. I did the same in my IAM and gave it admin and client role.
and I deployed my cloud run as follows:
gcloud run deploy <SERVICE_NAME>
--image <IMAGE_URL>
--add-cloudsql-instances <PROJECT_ID>::<INSTANCE_ID>
--region
--project <RUN_PROJECT_ID>
I keep getting connection error. Then I tried getting the cloud SQL service name from the client and I added it to my IAM and same issue.
What am I missing here? what are the true steps to make it work I
本文标签: Connecting cloud run on GCP A to cloud sql on GCBP B using a proxyStack Overflow
版权声明:本文标题:Connecting cloud run on GCP A to cloud sql on GCBP B using a proxy - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1745642960a2667965.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论