github.com/nathanielks/terraform@v0.6.1-0.20170509030759-13e1a62319dc/website/source/docs/providers/bitbucket/index.html.markdown (about)

     1  ---
     2  layout: "bitbucket"
     3  page_title: "Provider: Bitbucket"
     4  sidebar_current: "docs-bitbucket-index"
     5  description: |-
     6    The Bitbucket provider to interact with repositories, projects, etc..
     7  ---
     8  
     9  # Bitbucket Provider
    10  
    11  The Bitbucket provider allows you to manage resources including repositories,
    12  webhooks, and default reviewers.
    13  
    14  Use the navigation to the left to read about the available resources.
    15  
    16  ## Example Usage
    17  
    18  ```hcl
    19  # Configure the Bitbucket Provider
    20  provider "bitbucket" {
    21    username = "GobBluthe"
    22    password = "idoillusions" # you can also use app passwords
    23  }
    24  
    25  resource "bitbucket_repository" "illusions" {
    26    owner      = "theleagueofmagicians"
    27    name       = "illusions"
    28    scm        = "hg"
    29    is_private = true
    30  }
    31  ```
    32  
    33  ## Argument Reference
    34  
    35  The following arguments are supported in the `provider` block:
    36  
    37  * `username` - (Required) Your username used to connect to bitbucket. You can
    38    also set this via the environment variable. `BITBUCKET_USERNAME`
    39  
    40  * `password` - (Required) Your password used to connect to bitbucket. You can
    41    also set this via the environment variable. `BITBUCKET_PASSWORD`