Skip to content

Commit

Permalink
generated docs
Browse files Browse the repository at this point in the history
  • Loading branch information
truszkowski committed Mar 5, 2024
1 parent 6461575 commit 8634e3e
Showing 1 changed file with 17 additions and 4 deletions.
21 changes: 17 additions & 4 deletions docs/resources/bitbucket_datacenter_integration.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,27 @@ description: |-
## Example Usage

```terraform
# When a Bitbucket Datacenter server is accessible from the public internet.
resource "spacelift_bitbucket_datacenter_integration" "example" {
name = "Bitbucket integration"
is_default = false
space_id = "root"
api_host = "private://bitbucket_spacelift/bitbucket"
user_facing_host = "https://bitbucket.spacelift.io/bitbucket"
api_host = "https://mybitbucket.myorg.com"
user_facing_host = "https://mybitbucket.myorg.com"
username = "bitbucket_user_name"
access_token = "ABCD-MDQ3NzgxMzg3NzZ0VpOejJZmQfBBlpxxJuK9j1LLQG8g"
access_token = "ABCD-EFGhiJKlMNoPQrSTuVWxYz0123456789abCDefGhiJkL"
}
# When a Bitbucket Datacenter server is not accessible from the public internet.
# We need to use "private://" scheme to reach out our VCS Agent pool.
resource "spacelift_bitbucket_datacenter_integration" "private-example" {
name = "Bitbucket integration"
is_default = false
space_id = "root"
api_host = "private://mybitbucket"
user_facing_host = "https://mybitbucket.myorg.com"
username = "bitbucket_user_name"
access_token = "ABCD-EFGhiJKlMNoPQrSTuVWxYz0123456789abCDefGhiJkL"
}
```

Expand All @@ -33,7 +46,7 @@ resource "spacelift_bitbucket_datacenter_integration" "example" {
- `api_host` (String) The API host where requests will be sent
- `is_default` (Boolean) Bitbucket Datacenter integration is default.
- `name` (String) Bitbucket Datacenter integration name
- `user_facing_host` (String) User Facing Host which will be user for all user-facing URLs displayed in the Spacelift UI
- `user_facing_host` (String) User Facing Host which will be used for all user-facing URLs displayed in the Spacelift UI
- `username` (String) Username which will be used to authenticate requests for cloning repositories

### Optional
Expand Down

0 comments on commit 8634e3e

Please sign in to comment.