I am trying to create an Azure App Service Environment using Terraform. Is there any real-life working samples for this? How should we decide to use a terraform resource is there a tested resource information published on the web?
Unfortunalely, looking at the issue you linked on GitHub in addition to this one seem to indicate this functionality is a work in progress and currently blocked by a bug in the Azure API
Terraform does a great job with their documentation and usually includes examples, but that isn't the case here since this isn't an available resource in a current and stable release. Here is an Azure example that may help you in a more general sense