better-actor-92669
12/12/2019, 11:02 AMgcp: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!No matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.
Powered by