After we figured out the problem with the AlwaysOn default setting between Terraform and a Linux environment in Azure, we run into the next Problem:
Error: expected site_config.0.application_stack.0.dotnet_version to be one of [3.1 5.0 6.0], got 7.0
Should you ever run into a problem like this, make sure that you update the Azure Resource Manager to the newest version:
1 2 3 4 5 6 7 8 |
terraform { required_providers { azurerm = { source = "hashicorp/azurerm" version = "=3.43.0" } } } |
This is a source of problems that can easily be overlooked, especially if you only use Terraform only occasionally.