You might rely on below code snippet from lekman.com showing logic app deployment. There he depends on bicep deploy but its outputs mechanisms are compliant: Access output variables by name reference