Hello @Suresh Bettadapur
I’m sorry to hear that you’re having trouble with your Terraform pipeline. can you please share the full script or the documentation you're following to achieve your scenario?
The error message you’re seeing typically means that the method you’re trying to use isn’t supported by the Azure App Service Environment. This could be due to a number of reasons, such as a change in the API or a misconfiguration in your Terraform script.
Here are a few things you can try to troubleshoot the issue:
- Double check that the ASE resource in your Terraform configuration is using the v3 syntax and properties. The API changed between v2 and v3 so the old configuration may no longer be valid.
- Try running
terraform state rm azurerm_app_service_environment.ase
to remove the old ASE state before re-running plan. This forces Terraform to re-read the resource. - Check if any ASE subnet, network security groups, or UDR routes need to be updated in your Terraform config per the v3 networking requirements.
- Review the guidance here on migrating Terraform configs: https://docs.microsoft.com/azure/app-service/environment/app-service-environment-infrastructure-migrate#terraform
Best,
Grace