Open khaake261 opened 5 months ago
Thanks @khaake261 for raising this issue, currently, we don't validate the service plan type when attaching an app to it. May I know why did you try to attach a windows web app to a linux service plan?
@xiaxyi It was deployed to a Linux service plan by accident when doing some unrelated testing, but I thought the resulting behavior was unexpected. Is there a reason for not having validation on the service plan type when attaching an app?
Is there an existing issue for this?
Community Note
Terraform Version
1.5.2
AzureRM Provider Version
3.87.0
Affected Resource(s)/Data Source(s)
azurerm_windows_web_app
Terraform Configuration Files
Debug Output/Panic Output
Expected Behaviour
An error was expected when trying to deploy a Windows web app to a Linux service plan.
Actual Behaviour
Successful plan and apply, except a Linux web app was deployed instead of a Windows web app.
Steps to Reproduce
terraform apply
Important Factoids
No response
References
No response