Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.