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

Fix crash when the user field is empty in the grant resource #136

Closed jessedearing closed 2 months ago

jessedearing commented 2 months ago

Fixes #128

The provider segfaults because it references nil when the user field is empty.

This ensures either the role is specified or the user is specified.

petoju commented 2 months ago

This was released as a part of provider version 3.0.55.