I have a azurerm_linux_web_app reource configured wiht dotnet stack 6.0:
resource "azurerm_linux_web_app" "myAppServer" {
site_config {
application_stack {
dotnet_version = "6.0"
}
...
When updating this to .net v 8.0 terraform does not seem to detect this attribute has changed..
new config:
resource "azurerm_linux_web_app" "myAppServer" {
site_config {
application_stack {
dotnet_version = "8.0"
}
...
After runing terraform apply
I am getting
Apply complete! Resources: 0 added, 0 changed, 0 destroyed.
and the .net version is not updated in azure
However the app service is configured in azure with .net 6.0…
I am using the following versions:
- terraform v1.9.0
- azurerm v3.110.0