2016-08-08 19:25:52 +02:00
|
|
|
---
|
|
|
|
layout: "bitbucket"
|
|
|
|
page_title: "Bitbucket: bitbucket_default_reviewers"
|
|
|
|
sidebar_current: "docs-bitbucket-resource-default-reviewers"
|
|
|
|
description: |-
|
|
|
|
Provides support for setting up default reviews for bitbucket.
|
|
|
|
---
|
|
|
|
|
|
|
|
# bitbucket\_default_reviewers
|
|
|
|
|
|
|
|
Provides support for setting up default reviewers for your repository.
|
|
|
|
|
|
|
|
## Example Usage
|
|
|
|
|
|
|
|
```
|
|
|
|
# Manage your respository
|
2016-09-21 20:47:31 +02:00
|
|
|
resource "bitbucket_default_reviewers" "infrastructure" {
|
2016-09-09 21:13:45 +02:00
|
|
|
owner = "myteam"
|
2016-08-08 19:25:52 +02:00
|
|
|
repository = "terraform-code"
|
|
|
|
reviewers = [
|
|
|
|
"gob",
|
|
|
|
"michael",
|
|
|
|
"michalejr"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
```
|
|
|
|
|
|
|
|
## Argument Reference
|
|
|
|
|
|
|
|
The following arguments are supported:
|
|
|
|
|
2016-09-09 21:13:45 +02:00
|
|
|
* `owner` - (Required) The owner of this repository. Can be you or any team you
|
2016-08-08 19:25:52 +02:00
|
|
|
have write access to.
|
|
|
|
* `repository` - (Required) The name of the repository.
|
|
|
|
* `reviewers` - (Required) A list of reviewers to use.
|