Update azure_git_repository.html.markdown
@@ -36,7 +36,10 @@ resource "azuredevops_git_repository" "repo" {
resource "azuredevops_git_repository" "repo" {
project_id = azuredevops_project.project.id
name = "Sample Fork an Existing Repository"
- parent_id = azuredevops_git_repository.parent.id
+ parent_repository_id = azuredevops_git_repository.parent.id
+ initialization {
+ init_type = "Clean"
+ }
}
```
@@ -46,7 +49,7 @@ The following arguments are supported:
- `project_id` - (Required) The project ID or project name.
- `name` - (Required) The name of the git repository.
-- `parent_id` - (Optional) The ID of a Git project from which a fork is to be created.
+- `parent_repository_id` - (Optional) The ID of a Git project from which a fork is to be created.
- `initialization` - (Optional) An `initialization` block as documented below.
`initialization` block supports the following:
