Deployment of ARM template to Devops branch

Raj Vishakh 21 Reputation points
2022-01-18T06:02:51.183+00:00

As a part of learning bicep, I've created an arm template for creating few linked services and datasets to publish them an existing ADF. When I deploy that template from ADF, It is being deployed directly in live mode as expected.

Now, would it be possible to deploy that template and have those newly created activities to appear also to a branch of my devops repository? I mean when I deploy that template, it should also create those json's inside a branch in repo. So that I can have those in repository?

Or another way by which I can take those newly created activities to a branch in git.

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
11,360 questions
0 comments No comments
{count} votes

Accepted answer
  1. ShaikMaheer-MSFT 38,516 Reputation points Microsoft Employee
    2022-01-19T13:05:29.757+00:00

    Hi @Raj Vishakh ,

    Thank you for posting query in Microsoft Q&A Platform.

    When you configure ADF with Git repo then best practice is always implement changes in worker branch and then merge changes with master branch and then publish to live mode. Its not recommended to directly publish to live mode from outside when you configured git repo.

    Still by any chance if we directly deployed to live mode and wants to import them to repo then we should do it complete import of resources as we do first time when we configure repo. Click here to know about connecting with Git repo.

    Click here to know about Best practices for Git Integration.
    Click here to know about Switching to a different Git repo.

    Hope this will help. Please let us know if any further queries.

    ------------

    Please consider hitting Accept Answer button. Accepted answers helps community as well.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.