petoju / terraform-provider-mysql

Terraform MySQL provider – unofficial fork
https://registry.terraform.io/providers/petoju/mysql
Mozilla Public License 2.0
63 stars 40 forks source link

Check for ALL PRIVILEGES with boundaries. Improve test case for MySQL 8 #155

Closed Wiston999 closed 1 week ago

Wiston999 commented 1 week ago

New grant introduced in MySQL 8 FIREWALL_EXEMPT is detected as ALL PRIVILEGES due to the regex for detecting all privileges.

This change ensures that ALL, ALLPRIVILEGES or ALL PRIVILEGES is actually found in the list of grants and not other strings containing them.

petoju commented 1 week ago

Released in v3.0.61