Skip to content

Commit 3c19f26

Browse files
committed
remaining bitbucket server references
1 parent 7f79507 commit 3c19f26

File tree

5 files changed

+20
-20
lines changed

5 files changed

+20
-20
lines changed

internal/provider/resource_tfe_oauth_client_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -200,9 +200,9 @@ resource "tfe_organization" "foobar" {
200200
resource "tfe_oauth_client" "foobar" {
201201
organization = tfe_organization.foobar.id
202202
name = "foobar_oauth"
203-
api_url = "https://bbs.example.com"
204-
http_url = "https://bbs.example.com"
205-
service_provider = "bitbucket_server"
203+
api_url = "https://bbdc.example.com"
204+
http_url = "https://bbdc.example.com"
205+
service_provider = "bitbucket_data_center"
206206
key = "1e4843e138b0d44911a50d15e0f7cee4"
207207
secret = <<EOT
208208
-----BEGIN RSA PRIVATE KEY-----

website/docs/cdktf/csharp/r/oauth_client.html.markdown

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -88,10 +88,10 @@ class MyConvertedCode : TerraformStack
8888
public MyConvertedCode(Construct scope, string name) : base(scope, name)
8989
{
9090
new OauthClient.OauthClient(this, "test", new OauthClientConfig {
91-
ApiUrl = "https://bbs.example.com",
92-
HttpUrl = "https://bss.example.com",
91+
ApiUrl = "https://bbdc.example.com",
92+
HttpUrl = "https://bbdc.example.com",
9393
Key = "<consumer key>",
94-
Name = "my-bbs-oauth-client",
94+
Name = "my-bbdc-oauth-client",
9595
Organization = "my-org-name",
9696
RsaPublicKey = @"-----BEGIN PUBLIC KEY-----
9797
content
@@ -137,4 +137,4 @@ Link.
137137
* `Id` - The ID of the OAuth client.
138138
* `OauthTokenId` - The ID of the OAuth token associated with the OAuth client.
139139

140-
<!-- cache-key: cdktf-0.17.0-pre.15 input-0dea494ef76c038939d94b5ae6a0e741e36a87509a350f558cd11d098bf1bde9 -->
140+
<!-- cache-key: cdktf-0.17.0-pre.15 input-0dea494ef76c038939d94b5ae6a0e741e36a87509a350f558cd11d098bf1bde9 -->

website/docs/cdktf/go/r/oauth_client.html.markdown

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,10 +94,10 @@ func newMyConvertedCode(scope construct, name *string) *myConvertedCode {
9494
this := &myConvertedCode{}
9595
cdktf.NewTerraformStack_Override(this, scope, name)
9696
oauthClient.NewOauthClient(this, jsii.String("test"), &oauthClientConfig{
97-
apiUrl: jsii.String("https://bbs.example.com"),
98-
httpUrl: jsii.String("https://bss.example.com"),
97+
apiUrl: jsii.String("https://bbdc.example.com"),
98+
httpUrl: jsii.String("https://bbdc.example.com"),
9999
key: jsii.String("<consumer key>"),
100-
name: jsii.String("my-bbs-oauth-client"),
100+
name: jsii.String("my-bbdc-oauth-client"),
101101
organization: jsii.String("my-org-name"),
102102
rsaPublicKey: jsii.String("-----BEGIN PUBLIC KEY-----\ncontent\n-----END PUBLIC KEY-----\n"),
103103
secret: jsii.String("-----BEGIN RSA PRIVATE KEY-----\ncontent\n-----END RSA PRIVATE KEY-----\n"),

website/docs/cdktf/java/r/oauth_client.html.markdown

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,8 @@ public class MyConvertedCode extends TerraformStack {
8282
public MyConvertedCode(Construct scope, String name) {
8383
super(scope, name);
8484
new OauthClient(this, "test", new OauthClientConfig()
85-
.apiUrl("https://bbs.example.com")
86-
.httpUrl("https://bss.example.com")
85+
.apiUrl("https://bbdc.example.com")
86+
.httpUrl("https://bbdc.example.com")
8787
.key("<consumer key>")
8888
.name("my-bbdc-oauth-client")
8989
.organization("my-org-name")
@@ -125,4 +125,4 @@ Link.
125125
* `id` - The ID of the OAuth client.
126126
* `oauthTokenId` - The ID of the OAuth token associated with the OAuth client.
127127

128-
<!-- cache-key: cdktf-0.17.0-pre.15 input-0dea494ef76c038939d94b5ae6a0e741e36a87509a350f558cd11d098bf1bde9 -->
128+
<!-- cache-key: cdktf-0.17.0-pre.15 input-0dea494ef76c038939d94b5ae6a0e741e36a87509a350f558cd11d098bf1bde9 -->

website/docs/r/oauth_client.html.markdown

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -55,14 +55,14 @@ When using Bitbucket Data Center, you must use three required fields: `key`, `se
5555

5656
```hcl
5757
resource "tfe_oauth_client" "test" {
58-
name = "my-bbs-oauth-client"
58+
name = "my-bbdc-oauth-client"
5959
organization = "my-org-name"
60-
api_url = "https://bbs.example.com"
61-
http_url = "https://bss.example.com"
60+
api_url = "https://bbdc.example.com"
61+
http_url = "https://bbdc.example.com"
6262
key = "<consumer key>"
6363
secret = "-----BEGIN RSA PRIVATE KEY-----\ncontent\n-----END RSA PRIVATE KEY-----"
6464
rsa_public_key = "-----BEGIN PUBLIC KEY-----\ncontent\n-----END PUBLIC KEY-----"
65-
service_provider = "bitbucket_server"
65+
service_provider = "bitbucket_data_center"
6666
}
6767
```
6868

@@ -80,11 +80,11 @@ The following arguments are supported:
8080
* `private_key` - (Required for `ado_server`) The text of the private key associated with your Azure DevOps Server account
8181
* `key` - The OAuth Client key can refer to a Consumer Key, Application Key,
8282
or another type of client key for the VCS provider.
83-
* `secret` - (Required for `bitbucket_server`) The OAuth Client secret is used for Bitbucket Data Center, this secret is the
83+
* `secret` - (Required for `bitbucket_data_center`) The OAuth Client secret is used for Bitbucket Data Center, this secret is the
8484
the text of the SSH private key associated with your Bitbucket Data Center
8585
Application Link.
86-
* `rsa_public_key` - (Required for `bitbucket_server`) Required for BitBucket
87-
Server in conjunction with the secret. Not used for any other providers. The
86+
* `rsa_public_key` - (Required for `bitbucket_data_center`) Required for Bitbucket
87+
Data Center in conjunction with the secret. Not used for any other providers. The
8888
text of the SSH public key associated with your Bitbucket Data Center Application
8989
Link.
9090
* `service_provider` - (Required) The VCS provider being connected with. Valid

0 commit comments

Comments
 (0)