Created
September 10, 2020 16:08
-
-
Save goyalmohit/bc454c897791d6753548767232808e30 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
data "azuredevops_project" "parent-project" { | |
project_name = "Space Game - web - Pipeline" | |
} | |
data "azuredevops_git_repositories" "parent-repo" { | |
project_id = data.azuredevops_project.parent-project.id | |
name = "Space Game - web" | |
} | |
resource "azuredevops_git_repository" "tf-forked-repo" { | |
parent_repository_id = data.azuredevops_git_repositories.parent-repo.repositories[0].id | |
project_id = azuredevops_project.tf-example.id | |
name = "forked-repo" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment