Open Priscach opened 3 months ago
I had the same issue. What worked for me was to give the compute engine service account (the default service account, which looks like xxxxxxxxxxxx-compute@developer.gserviceaccount.com) the following permissions:
I had the same issue. What worked for me was to give the compute engine service account (the default service account, which looks like xxxxxxxxxxxx-compute@developer.gserviceaccount.com) the following permissions:
- Secret Manager Secret Accessor;
- Secret Manager Secret Version Manager;
Hi , Thanks for you advise. However, after I tried to modify the permission, it still didn't work. Do you have other solutions? Thanks a lot.
Did you look at the log to see what the error is? Try entering the log link that is provided when the error occurs.
When I had this issue, my log was claiming that I didn't have permission to on the resource "path-to-the-secret-of-the-service-account".
@Priscach 's comment worked for me as well.
Follow the guide steps and got the error when running gcloud run deploy genai-marketing --source . --region us-central1 --allow-unauthenticated