Terraform Azure standard Logic App trips Azure policy during creation and is not created

Terraform standard logic app with the following code trips the Azure policy of “Logic apps should disable public network access”

  • tested up until azurerm version 4.10)
  • Terrafrom code snippet
    site_config {
    public_network_access_enabled = false

    }