You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I getting the error Error creating Database: googleapi: Error 403: The client is not authorized to make this request., notAuthorized when trying to run the creation of one postgresql instance with the creation of one database.
by the error it returns, it seems to be a permission that is missing but my iam group already has the permission Cloud SQL Administrator. do you guys see what could be the cause for this error?
thank you Lucas Ramos
The text was updated successfully, but these errors were encountered:
I think below might be one of the reason for this issue occuarnce.
Please check Service Account Permission : Even though you have Cloud SQL Admin role, the specific service account you're using might not have the required permissions. This you can verify in IAM Section of cloud console.
Double-Check Project and Instance Details:
Make sure you're creating the instance and database in the correct project. Typos can lead to permission errors sometime.
Verify: Double-check the project ID in your Terraform configuration or script matches the project where you want the resources created.
Temporary Permissions Issue:
In rare cases, there might be a temporary permissions issue with Google Cloud.
Wait and Retry: Try waiting a few minutes and then re-running your script or Terraform configuration to see if this resolve the issue.
Any news on that topic? We encountered the same issue with the initial run. Running terraform apply just really seconds later than the first run made the issue disappearing.
I getting the error Error creating Database: googleapi: Error 403: The client is not authorized to make this request., notAuthorized when trying to run the creation of one postgresql instance with the creation of one database.
module code:
resource code
by the error it returns, it seems to be a permission that is missing but my iam group already has the permission Cloud SQL Administrator. do you guys see what could be the cause for this error?
thank you Lucas Ramos
The text was updated successfully, but these errors were encountered: