OverrideArmParameters with Synapse workspace deployment@2

Mathias Opland 140 Reputation points
2023-10-09T11:04:09.7666667+00:00

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:
image.png

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:
image.png

yaml file:
User's image

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

Azure Synapse Analytics
Azure Synapse Analytics
An Azure analytics service that brings together data integration, enterprise data warehousing, and big data analytics. Previously known as Azure SQL Data Warehouse.
4,697 questions
{count} votes

Accepted answer
  1. Bhargava-MSFT 29,266 Reputation points Microsoft Employee
    2023-10-10T23:41:45.2+00:00

    Since you are using Azure Devops, you need to pass each parameter on the Overridearmparameters section.

    Please see the below screenshot for your reference.

    User's image

    If you use Github actions, you can pass the './path of the parameters.yaml' in the OverrideArmParameters section(as mentioned in the document)

    I hope this clarifies your question.

    Please let me know if you have any further questions.

    1 person found this answer helpful.
    0 comments No comments

2 additional answers

Sort by: Most helpful
  1. Mathias Opland 140 Reputation points
    2024-05-28T08:23:08.8033333+00:00

    Hi Avi Bhardwaj, see my comment above:

    "However, I've also learned that one can pass a text file as parameter and parse it as a string when inputing to the deployment module."
    So YAML is not a valid parameter override format, but string is.

    1 person found this answer helpful.
    0 comments No comments

  2. Nikola Branković 0 Reputation points
    2024-01-31T20:33:25.5+00:00

    @Mathias Opland What was your solution for this?

    Kind Regards
    Nikola