Deployment of Infrastracture


I am new to Serverless. I just checked out the serverless.yml files. As far as I understand it most of the definitions are related to functions. If I want to deploy infrastructure I have to specify it in the ressources paragraph as CloudFormation for AWS or using Terraform.

Right? So what is the big benefit of using the Serverless Framework?

Thanks in advance!