I am trying to create a web app through Terraform, the new azurerm provider 3.0 has come out and so the new module azurerm_windows_web_app. The documentation states that the block application_stack supports the following: current_stack, docker, Java, etc.
azurerm version = "=3.0.0"
Link to documentation of Terraform: https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/windows_web_app#example-usage
Once I try to run the module created for this, it throws an error:
Error: Unsupported block type
Blocks of type "application_stack" are not expected here.

Here is a snippet of my code, I am not sure what is going on. Tried to google it but it seems to new to have documentation from other users. Any insight?
resource "azurerm_windows_web_app" "web_app_resource" {
name = var.resource_name
resource_group_name = var.resource_group_name
location = var.location
service_plan_id = var.app_service_plan_id
https_only = true
tags = var.tags
count = var.create
site_config {}
application_stack {
current_stack = var.current_stack
dotnet_version = var.dotnet_version
}
}