---
title: Bitbucket Server Config
description: Datadog, the leading service for cloud-scale monitoring.
breadcrumbs: Docs > DDSQL Reference > Data Directory > Bitbucket Server Config
---

# Bitbucket Server Config

Bitbucket Server Config in Google Cloud is a configuration resource used to integrate and manage Bitbucket Server repositories with Google Cloud services. It enables secure connection setup, repository synchronization, and automated CI/CD workflows within GCP environments. This resource helps streamline source control management and deployment pipelines for teams using Bitbucket Server.

```
gcp.cloudbuild_bitbucket_server_config
```

## Fields

| Title                   | ID   | Type          | Data Type                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    | Description |
| ----------------------- | ---- | ------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------- |
| _key                    | core | string        |
| ancestors               | core | array<string> |
| connected_repositories  | core | json          | Output only. Connected Bitbucket Server repositories for this config.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| create_time             | core | timestamp     | Time when the config was created.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| datadog_display_name    | core | string        |
| host_uri                | core | string        | Required. Immutable. The URI of the Bitbucket Server host. Once this field has been set, it cannot be changed. If you need to change it, please create another BitbucketServerConfig.                                                                                                                                                                                                                                                                                                                                                                                                        |
| labels                  | core | array<string> |
| name                    | core | string        | The resource name for the config.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| organization_id         | core | string        |
| parent                  | core | string        |
| peered_network          | core | string        | Optional. The network to be used when reaching out to the Bitbucket Server instance. The VPC network must be enabled for private service connection. This should be set if the Bitbucket Server instance is hosted on-premises and not reachable by public internet. If this field is left empty, no network peering will occur and calls to the Bitbucket Server instance will be made over the public internet. Must be in the format `projects/{project}/global/networks/{network}`, where {project} is a project number or id and {network} is the name of a VPC network in the project. |
| peered_network_ip_range | core | string        | Immutable. IP range within the peered network. This is specified in CIDR notation with a slash and the subnet prefix size. You can optionally specify an IP address before the subnet prefix value. e.g. `192.168.0.0/29` would specify an IP range starting at 192.168.0.0 with a 29 bit prefix size. `/16` would specify a prefix size of 16 bits, with an automatically determined IP within the peered VPC. If unspecified, a value of `/24` will be used. The field only has an effect if peered_network is set.                                                                        |
| project_id              | core | string        |
| project_number          | core | string        |
| region_id               | core | string        |
| resource_name           | core | string        |
| secrets                 | core | json          | Required. Secret Manager secrets needed by the config.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| ssl_ca                  | core | string        | Optional. SSL certificate to use for requests to Bitbucket Server. The format should be PEM format but the extension can be one of .pem, .cer, or .crt.                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| tags                    | core | hstore_csv    |
| username                | core | string        | Username of the account Cloud Build will use on Bitbucket Server.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| zone_id                 | core | string        |
