oreoluwa
oreoluwa

Reputation: 5623

unable to deploy to cloudrun through cloudbuild

I'm currently trying to deploy an app with a Cloud SQL connection to Cloud Run through Cloud Build, however on the cloudbuild step, I keep getting an error:

ERROR: (gcloud.beta.run.deploy) Cloud SQL API could not be enabled.

Even though I've enabled both the CloudSQL and CloudSQL Admin apis; out of further curiosity I've also added the project.owner role to Cloudbuild role, but I haven't been able to figure out/fix this; however, I don't get such errors when I'm running the deploy on my local machine. Any help would be appreciated.

Upvotes: 0

Views: 102

Answers (1)

Corinne White
Corinne White

Reputation: 446

Are you running an up to date version of the Cloud SDK? It seems there was a bug that was recently solved to do with this error.

Upvotes: 1

Related Questions