Hello. Can someone please help me solve the follow...
# general
b
Hello. Can someone please help me solve the following issue which occurs upon CloudSQL Postgres Instance creation in GCP.
Copy code
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
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
$GOOGLE_APPLICATION_CREDENTIALS
and
$GOOGLE_CLOUD_KEYFILE_JSON
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!