Skip to content
This repository has been archived by the owner. It is now read-only.
Go to file
Cannot retrieve contributors at this time
38 lines (29 sloc) 1.06 KB
layout page_title sidebar_current description
Bitbucket: bitbucket_default_reviewers
Provides support for setting up default reviews for bitbucket.


Provides support for setting up default reviewers for your repository. You must however have the UUID of the user available. Since Bitbucket has removed usernames from its APIs the best case is to use the UUID via the data provider.

Example Usage

# Manage your repositories default reviewers
data "bitbucket_user" "reviewer" {
  username = "gob"

resource "bitbucket_default_reviewers" "infrastructure" {
  owner      = "myteam"
  repository = "terraform-code"

  reviewers = [

Argument Reference

The following arguments are supported:

  • owner - (Required) The owner of this repository. Can be you or any team you have write access to.
  • repository - (Required) The name of the repository.
  • reviewers - (Required) A list of reviewers to use.