powerful-ram-56107
09/18/2019, 1:18 PMpulumi
, but when it comes to creating a Cloud SQL Instance pulumi
responds with:
gcp:sql:DatabaseInstance (db1):
error: Plan apply failed: Error, failed to create instance db1: googleapi: Error 403: The client is not authorized to make this request., notAuthorized
Any idea why that might be the case? I'm obviously authorized (with my Google Account, role owner
of the GCP project) via gcloud auth login
and gcloud auth application-default login
gentle-diamond-70147
09/18/2019, 1:58 PMpowerful-ram-56107
09/18/2019, 2:00 PMgentle-diamond-70147
09/18/2019, 2:01 PMpowerful-ram-56107
09/18/2019, 2:06 PM$ gcloud sql instances create test-db
--database-version MYSQL_5_7 --storage-size=100
succeeds and I can see the DB in the GCloud UI.powerful-ram-56107
09/18/2019, 2:07 PMpowerful-ram-56107
09/18/2019, 2:10 PMmasterInstanceName
seems to need a special format (maybe sth. like project/<project-id>/<name>
? Pure speculation) Removing it resulted in a working DB 🤦♂️
Thanks @gentle-diamond-70147 for your time!gentle-diamond-70147
09/18/2019, 2:19 PM