Unable to updated azure function PowerShell version 7.4

resource “azurerm_windows_function_app” “example” {
name = “example-windows-function-app”
resource_group_name = azurerm_resource_group.example.name
location = azurerm_resource_group.example.location

storage_account_name = azurerm_storage_account.example.name
storage_account_access_key = azurerm_storage_account.example.primary_access_key
service_plan_id = azurerm_service_plan.example.id

site_config {
    application_stack {
        powershell_core_version            = "7.4"
    }
}

}

Planning failed. Terraform encountered an error while generating this plan.

│ Error: expected site_config.0.application_stack.0.powershell_core_version to be one of [“7” “7.2”], got 7.4

│ with module.functionapp.azurerm_windows_function_app.example,
│ on functionapp/main.tf line 55, in resource “azurerm_windows_function_app” “example”:
│ 55: powershell_core_version = “7.4”

version 7.4 not support on latest version of azurerm

https://registry.terraform.io/providers/hashicorp/azurerm/3.103.0/docs/resources/linux_function_app