Reputation: 1036
I have created configuration files (Dev.json & QA.json) to deploy Azure Data Factory artifacts to different environments using Visual Studio as given here https://www.purplefrogsystems.com/paul/2017/01/using-azure-data-factory-configuration-files/.
Deploying using VS is time taking task, so I decided to use powershell.
Now, I want use the same configuration files (Dev.json & QA.json) to be used for deployment using powershell. How can I achieve this ?
Upvotes: 2
Views: 517
Reputation: 635
You're right you can create all the objects in data factory with PowerShell, but at this time there is no way to automatically apply the config file to it.
Config files are a project level object and could have elements that apply to any ADF object. As such they are only used in the VS publish wizard.
You could incorporate the config details into your PowerShell script by using the ConvertFrom-JSON cmdlet and parsing the entries against the ADF objects you're creating.
Upvotes: 1