Fiabane
New Contributor III

Hello Kaniz_Fatma,

I tried your suggestions. However, the tags: git_branch, git_url, and git_provider are not recognized in the bundle.yml (https://docs.databricks.com/en/dev-tools/bundles/settings.html#git)

They are valid in the resource.yml context, but they do not work as Thibault mentioned.

My bundle.yml

 

bundle:
  name: alerts

include:
  - resources/*.yml

targets:
  prod:
    git:
      origin_url: *****
      # provider: AWS CodeCommit
      branch: master
    mode: production
    workspace:
      host: ******

 

putting the following tags inside the resource.yml had no effect

 

git_source:
   git_url: *********
   git_provider: AWS CodeCommit
   git_branch: master

 

I saw that was released a way to deploy a resource setting as source a Git provider (https://community.databricks.com/t5/data-engineering/databricks-asset-bundle-dab-from-a-git-repo/td-...). However, the video and files didn't clearly show how it was done. I would appreciate it if you could please clarify this part.

Best,