Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

Commit 9b03140

Browse files
authored
adds import instructions for Bitbucket repos
Hi there! Started playing with the Bitbucket provider (great job @cwood!) and wanted to import a few dozen repositories. The documentation currently does not list it, but importing repositories is possible, using the following (for a repository identified as `my-repo`: ``` $ terraform import bitbucket_repository.my-repo my-repo ``` Hope this helps!
1 parent 2be676c commit 9b03140

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

website/source/docs/providers/bitbucket/r/repository.html.markdown

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,3 +46,11 @@ The following arguments are supported:
4646

4747
The following arguments are computed. You can access both `clone_ssh` and
4848
`clone_https` for getting a clone URL.
49+
50+
## Import
51+
52+
Repositories can be imported using the `name`, e.g.
53+
54+
```
55+
$ terraform import bitbucket_repository.my-repo my-repo
56+
```

0 commit comments

Comments
 (0)