Skip to content
This repository has been archived by the owner on Dec 8, 2020. It is now read-only.

Commit

Permalink
Added documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Tobias Lückel committed Aug 14, 2017
1 parent 2460ea9 commit ae2b54a
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion website/docs/r/repository.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,26 @@ resource "bitbucket_repository" "infrastructure" {
}
```

If you want to create a repository with a CamelCase name, you should provide
a seperate slug

```hcl
# Manage your repository
resource "bitbucket_repository" "infrastructure" {
owner = "myteam"
name = "TerraformCode"
slug = "terraform-code"
}
```

## 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.
* `name` - (Optional) The name of the repository.
* `name` - (Required) The name of the repository.
* `slug` - (Optional) The slug of the repository.
* `scm` - (Optional) What SCM you want to use. Valid options are hg or git.
Defaults to git.
* `is_private` - (Optional) If this should be private or not. Defaults to `true`.
Expand Down

0 comments on commit ae2b54a

Please sign in to comment.