Azurem Logic Apps not working as documented?

Hi there,
I believe this is a bug, but it also may be something I am doing wrong… When using the azurerm_logic_app_workflow resource creator and specifying “workflow_parameters”, I receive the error:
“Inappropriate value for attribute “workflow_parameters”: element “definition”: string required.”

However, the URL provided on the terraform page around how to use this parameter (Workflow Definition Language schema reference - Azure Logic Apps | Microsoft Docs)) shows the element “definition” being an object {}. Would you be able to provide any assistance as to why I got this error? Thank you!