We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
ALTER USER ... DEFAULT ROLE ALL
Terraform v1.9.7 on darwin_arm64 + provider registry.terraform.io/hashicorp/aws v5.70.0 + provider registry.terraform.io/petoju/mysql v3.0.65
Aurora MySQL version 3.05.2, compatible with MySQL 8.0.32. There aren't any non-standard settings.
resource "mysql_default_roles" "exmaple" { user = "example" host = "%" roles = ["ALL"] }
N/A
What expect that following SQL is executed.
ALTER USER 'example'@'%' DEFAULT ROLE ALL;
An error occured:
│ Error: failed to update user default roles: failed executing SQL: Error 3530 (HY000): `ALL`@`%` is not granted to `exmaple`@`%`
I guess that stopping to add this single quotation in the case of ALL will resolve this issue.
terraform apply
The text was updated successfully, but these errors were encountered:
Yes, this is a special case, that needs to be fixed. Could you send a PR?
Sorry, something went wrong.
No branches or pull requests
Provider version
MySQL version and settings
Aurora MySQL version 3.05.2, compatible with MySQL 8.0.32.
There aren't any non-standard settings.
Terraform Configuration Files
Debug Output
N/A
Panic Output
N/A
Expected Behavior
What expect that following SQL is executed.
Actual Behavior
An error occured:
I guess that stopping to add this single quotation in the case of ALL will resolve this issue.
Steps to Reproduce
terraform apply
Important Factoids
N/A
References
N/A
The text was updated successfully, but these errors were encountered: