How to manage Gitlab with Terraform? Links to resources? Sample architecture? Type of Token?

I use Terraform successfully IN my Gitlab projects, but I having trouble wrapping my head around managing Gitlab resources (groups, projects, tokens, etc) WITH Terraform.

Are there resources / tutorial / documentation about best practices to manage Gitlab with Terraform? The Terraform registry provider info is a bit sparse, and the issue I’m really having is this is an almost impossible topic to search for in Google. 99.99% of the results I get are about how to use Terraform in Gitlab CI / CD pipelines.