admin管理员组文章数量:1129449
I am trying to create a Cloud SQL PostgreSQL instance using Terraform. I am using a Service Account as credentials for Google, and I have assigned the Cloud SQL Admin role to the Service Account. I am quite lost with the error message I am receiving. Any idea if I need to add other rules to my Service Account?
google_sql_database_instance.postgres_instance: Creating...
Error: Error, failed to create instance postgresql-dev: googleapi: Error 403: The client is not authorized to make this request., notAuthorized
with google_sql_database_instance.postgres_instance,
on main.tf line 402, in resource "google_sql_database_instance" "postgres_instance":
402: resource "google_sql_database_instance" "postgres_instance" {
I tried to add the Owner
rule and I am getting the same error message.
本文标签: Failed to create GCP Cloud SQL instnace using TerraformStack Overflow
版权声明:本文标题:Failed to create GCP Cloud SQL instnace using Terraform - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736714091a1949103.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论