You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error: expected site_config.0.application_stack.0.dotnet_version to be one of [v2.0 v3.0 core3.1 v4.0 v5.0 v6.0 v7.0], got v4.8
Expected Behaviour
Based on the portal experience, the current supported dotnet version for windows web app is
So expected terraform module to accept the same dotnet versions.
Actual Behaviour
Based on the documentation the terraform module currently accepts the below versions but few are not supported or available in windows web app. dotnet_version - (Optional) The version of .NET to use when current_stack is set to dotnet. Possible values include v2.0,v3.0,core3.1, v4.0, v5.0, v6.0 and v7.0.
Steps to Reproduce
No response
Important Factoids
No response
References
No response
The text was updated successfully, but these errors were encountered:
Hi @vj-msft - Thanks for opening this issue.
Unfortunately the values displayed in the portal and those actually used by the API do not align 1:1. Currently the service maps the values as:
Portal Value
API value
ASP.NET V3.5
v2.0
ASP.NET V4.8
v4.0
.NET 6 (LTS)
v6.0
.NET 7 (STS)
v7.0
These are reflected in #19685 and I'm adding the supporting documentation notes to this at the moment.
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Is there an existing issue for this?
Community Note
Terraform Version
1.3.6
AzureRM Provider Version
3.37.0
Affected Resource(s)/Data Source(s)
azurerm_windows_web_app
Terraform Configuration Files
Debug Output/Panic Output
Expected Behaviour
Based on the portal experience, the current supported dotnet version for windows web app is
So expected terraform module to accept the same dotnet versions.
Actual Behaviour
Based on the documentation the terraform module currently accepts the below versions but few are not supported or available in windows web app.
dotnet_version - (Optional) The version of .NET to use when current_stack is set to dotnet. Possible values include v2.0,v3.0,core3.1, v4.0, v5.0, v6.0 and v7.0.
Steps to Reproduce
No response
Important Factoids
No response
References
No response
The text was updated successfully, but these errors were encountered: