'Deploying Azure App Service within Azure App Service Environment using Terraform

There seems to be plenty of resources/examples of deploying Azure App Services - but I was wondering if there was an example somewhere explaining:

How to deploy Azure App services within a specific Azure App Service Environment using Terraform? Is it simply pointing the application into the subnet that holds the ASE?

Thanks ahead of time!



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source