Creating an Azure Devops pipeline from terrafrom

I have been looking on the internet to create an Azure DevOps pipeline from terraform. But I couldn’t find any resources to create a pipeline. I was only able to find some resources to create a git repo. My idea is to use terraform to create a project, and under the project, a pipeline should be created with a YAML file which is inside a Github repo. Can anyone point me to a resource to do this task?

I’m also looking for a similar tf configuration. I need to create an Azure DevOps pipeline via terraform. It would be helpful if anyone could give a proper guide.