Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions website/docs/r/git_repository.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Manages a git repository within Azure DevOps.

~>**NOTE** Importing an existing repository and running `terraform plan` will detect a difference on the `initialization` block. The `plan` and `apply` will then attempt to update the repository based on the `initialization` configurations. It may be necessary to ignore the `initialization` block from `plan` and `apply` to support configuring existing repositories imported into Terraform state.<br>

~>**NOTE** 1. `initialization.init_type` is `Uninitialized`: Changing `source_type` or `source_url` will not recreate the repository, but initialize the repository. <br>2. `initialization.init_type` is not `Uninitialized`:
~>**NOTE** 1. `initialization.init_type` is `Uninitialized`: Changing `source_type` or `source_url` will not recreate the repository, but initialize the repository. <br>2. `initialization.init_type` is not `Uninitialized`:
<br>&nbsp;&nbsp;&nbsp;&nbsp;1) Updating `init_type` will recreate the repository
<br>&nbsp;&nbsp;&nbsp;&nbsp;2) Updating `source_type` or `source_url` will recreate the repository

Expand Down Expand Up @@ -234,13 +234,13 @@ The following arguments are supported:
* `name` - (Required) The name of the git repository.

* `initialization` - (Required) A `initialization` block as documented below.

---

* `parent_repository_id` - (Optional) The ID of a Git project from which a fork is to be created.

* `disabled` - (Optional) The ability to disable or enable the repository. Defaults to `false`.


---

A `initialization` - block supports the following:
Expand Down