Refactor of username -> owner
This commit is contained in:
parent
49f0c2e917
commit
453ac9bb3d
|
@ -15,7 +15,7 @@ Provides support for setting up default reviewers for your repository.
|
||||||
```
|
```
|
||||||
# Manage your respository
|
# Manage your respository
|
||||||
resource "bitbucket_default_reviewers" "infastracture" {
|
resource "bitbucket_default_reviewers" "infastracture" {
|
||||||
username = "myteam"
|
owner = "myteam"
|
||||||
repository = "terraform-code"
|
repository = "terraform-code"
|
||||||
reviewers = [
|
reviewers = [
|
||||||
"gob",
|
"gob",
|
||||||
|
@ -29,7 +29,7 @@ resource "bitbucket_default_reviewers" "infastracture" {
|
||||||
|
|
||||||
The following arguments are supported:
|
The following arguments are supported:
|
||||||
|
|
||||||
* `username` - (Required) The owner of this repository. Can be you or any team you
|
* `owner` - (Required) The owner of this repository. Can be you or any team you
|
||||||
have write access to.
|
have write access to.
|
||||||
* `repository` - (Required) The name of the repository.
|
* `repository` - (Required) The name of the repository.
|
||||||
* `reviewers` - (Required) A list of reviewers to use.
|
* `reviewers` - (Required) A list of reviewers to use.
|
||||||
|
|
|
@ -17,7 +17,7 @@ This allows you to manage your webhooks on a repository.
|
||||||
```
|
```
|
||||||
# Manage your respositories hooks
|
# Manage your respositories hooks
|
||||||
resource "bitbucket_hook" "deploy_on_push" {
|
resource "bitbucket_hook" "deploy_on_push" {
|
||||||
username = "myteam"
|
owner = "myteam"
|
||||||
repository = "terraform-code"
|
repository = "terraform-code"
|
||||||
url = "https://mywebhookservice.mycompany.com/deploy-on-push"
|
url = "https://mywebhookservice.mycompany.com/deploy-on-push"
|
||||||
description = "Deploy the code via my webhook"
|
description = "Deploy the code via my webhook"
|
||||||
|
@ -31,7 +31,7 @@ resource "bitbucket_hook" "deploy_on_push" {
|
||||||
|
|
||||||
The following arguments are supported:
|
The following arguments are supported:
|
||||||
|
|
||||||
* `username` - (Required) The owner of this repository. Can be you or any team you
|
* `owner` - (Required) The owner of this repository. Can be you or any team you
|
||||||
have write access to.
|
have write access to.
|
||||||
* `repository` - (Required) The name of the repository.
|
* `repository` - (Required) The name of the repository.
|
||||||
* `url` - (Required) Where to POST to.
|
* `url` - (Required) Where to POST to.
|
||||||
|
|
Loading…
Reference in New Issue