better-actor-9266912/12/2019, 11:02 AM
Reference to a class: https://github.com/pulumi/pulumi-gcp/blob/d5c103b63474e73b7a0ea0639a6e162be70726ac/sdk/python/pulumi_gcp/sql/database_instance.py#L12 (GCP Python). I use a separate service account to issue pulumi API calls. Both
gcp:sql:DatabaseInstance (cloud_pgsql_main): error: Error, failed to create instance smth-pulumi-1-psql-main: googleapi: Error 403: The client is not authorized to make this request., notAuthorized
are set. I have assigned a CloudSQL Admin Role for this service account. I also tried to make it an owner of the entire project, but it doesn't help. Thank you so much in advance!