Terraform to publish code to Azure App Service and App Function

Is there any way to publish code onto azure app services and not just deploy empty infra?

I’d like to inject Terraform into a deploy pipeline and it would be much smoother if all the site configs and the like were all set in one location as opposed to making two steps for the entire process. Basically I could run terraform apply and get a functional environment and not just a skeleton ready for more deploy steps, but this doesn’t seem possible?