-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
google_sql_user has no privileges #3028
Comments
Did you try to add |
@Chupaka Yes that solved the problem, Thank you |
@Chupaka I'm using private IP in an associated network for google_sql_database_instance but the public IP is created anyway and I can't find an argument to disable it in the resource documentation, Is there is a way to disable the creation of the public IP if there is a private one? Sorry I'm a bit new to terraform |
@YaraMohammed sorry, have no idea about public IP |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 [email protected]. Thanks! |
Community Note
Terraform Version
v0.11.11
Affected Resource(s)
Terraform Configuration Files
Debug Output
Access denied for userAll resources are created but the cloudsql user has no privileges
from gcp cloud shell
ERROR 1141 (42000): There is no such grant defined for user 'newuser' on host '%'
Panic Output
Expected Behavior
Generated user has privileges as the user created from UI or add option to the resource to grant privileges
Actual Behavior
User has no privileges at all
Steps to Reproduce
terraform apply
Important Factoids
References
The text was updated successfully, but these errors were encountered: