I'm trying to deploy a synapse workspace to a Prod environment, overriding parameters (such as linkedServiceUrls etc.). I have got it working using a template-parameters-definition.json
file to make the parameters I want available for overriding, and the following task for deployment:

However, I see that down the road, the parameters list for overriding will grow a lot, so having the parameters inline in the deployment pipeline will be really ugly. I've seen some documentation that states that the "OverrideArmParameters" input can be a path to a .yaml file containing the parameters that should be overrided, however this does not seem to work for me. Any input on how this should be configured?
pipeline:

yaml file:

I've ensured that the path of the yaml file is correct by printing the content in a pwsh task.