Auth0 Terraform Provider not handling the state for "auth0_role_permissions" resources

So, I reported the issue on GitHub to the Terraform provider developers and I got a response. Basically, I am not properly using the auth0_role_permissions resource.

Here is the link with the explanation and a solution for the problem, I hope this can help others: