-
Notifications
You must be signed in to change notification settings - Fork 123
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
Privilege RDB "readwrite" switch to custom after a certain amount of time #2762
Labels
rdb
Managed MySQL and PostgreSQL issues, bugs and feature requests
Comments
jremy42
added
the
rdb
Managed MySQL and PostgreSQL issues, bugs and feature requests
label
Oct 4, 2024
ok sorry, it is apparently due to the table creation I did
It is quite strange behavior especially for database. Migrations happen regularly and If I apply one of them in a job (kubernetes or scaleway) I have to apply new privilege but in my TF state the permission is still readwrite, not custom. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Community Note
Terraform Version
Affected Resource(s)
Terraform Configuration Files
Actual Behavior
The privilege is actually well defined if we look at the scw console to "Permissions (Read/Write)" on the "DB_NAME" for a few minutes. After some time, it switch to "custom" in the console without any reason and cause a permission denied error if we try to query or insert an element in some table.
Steps to Reproduce
Deploy the resource
Run
terraform apply
Wait some minutes/seconds and see the privileges switching to custom
Note, if we assign back the privilege to "Permissions (Read/Write)" manually (scw console), it seems to be ok and not going back to custom.
Important Factoids
None
The text was updated successfully, but these errors were encountered: