Error Uploading CSV to Google Cloud Storage through Cloud SQL API

不打扰是莪最后的温柔 提交于 2019-12-06 08:34:26

By default Google Compute Engine instances have read only scope for Google Cloud Storage.

You should confirm that the Google Compute Engine instance scope is set to read/write.

You need to grant the Cloud SQL instance service account access to your bucket. Visit the export documentation and click the GCLOUD (2ND GEN) tab which will show you the commands you need to use.

The command to grant the service account access to the bucket is

gsutil acl ch -u [SERVICE_ACCOUNT_ADDRESS]:W gs://[BUCKET_NAME]
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!