Data sources like Gitlab and the port-k8s-exporter currently can't be managed through code with Terraform. only using the builder page or through the API. When managing a lot of clusters and wanting to keep the exporter configuration the same or tracking changes in version control software is not possible except ny writing a custom implementation with the API.