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
|
|
|
|
|
|
|
|
```
|
2017-04-03 18:51:20 +02:00
|
|
|
# Manage your repository
|
2016-09-21 20:47:31 +02:00
|
|
|
resource "bitbucket_default_reviewers" "infrastructure" {
|
2017-02-18 23:48:50 +01:00
|
|
|
owner = "myteam"
|
|
|
|
repository = "terraform-code"
|
|
|
|
|
|
|
|
reviewers = [
|
|
|
|
"gob",
|
|
|
|
"michael",
|
|
|
|
"michalejr",
|
|
|
|
]
|
2016-08-08 19:25:52 +02:00
|
|
|
}
|
|
|
|
```
|
|
|
|
|
|
|
|
## 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.
|