Skip to content

Commit 3f04fba

Browse files
committed
cdktf: update d/oauth_client.html.markdown,d/ip_ranges.html.markdown,d/github_installation.html.markdown,d/agent_pool.html.markdown
1 parent 46cce5a commit 3f04fba

8 files changed

+168
-126
lines changed

website/docs/cdktf/python/d/agent_pool.html.markdown

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,18 @@ Use this data source to get information about an agent pool.
1414
## Example Usage
1515

1616
```python
17-
import constructs as constructs
18-
import cdktf as cdktf
19-
# Provider bindings are generated by running cdktf get.
17+
# Code generated by 'cdktf convert' - Please report bugs at https://cdk.tf/bug
18+
from constructs import Construct
19+
from cdktf import TerraformStack
20+
#
21+
# Provider bindings are generated by running `cdktf get`.
2022
# See https://cdk.tf/provider-generation for more details.
21-
import ...gen.providers.tfe as tfe
22-
class MyConvertedCode(cdktf.TerraformStack):
23+
#
24+
from imports.tfe.data_tfe_agent_pool import DataTfeAgentPool
25+
class MyConvertedCode(TerraformStack):
2326
def __init__(self, scope, name):
2427
super().__init__(scope, name)
25-
tfe.data_tfe_agent_pool.DataTfeAgentPool(self, "test",
28+
DataTfeAgentPool(self, "test",
2629
name="my-agent-pool-name",
2730
organization="my-org-name"
2831
)
@@ -42,4 +45,4 @@ In addition to all arguments above, the following attributes are exported:
4245
* `id` - The agent pool ID.
4346
* `organization_scoped` - Whether or not the agent pool can be used by all workspaces in the organization.
4447

45-
<!-- cache-key: cdktf-0.17.0-pre.15 input-b223e1934ef43efb927b0566eadbb97c45112079ed23b335806e0098961b16f3 -->
48+
<!-- cache-key: cdktf-0.17.1 input-b223e1934ef43efb927b0566eadbb97c45112079ed23b335806e0098961b16f3 -->

website/docs/cdktf/python/d/github_installation.html.markdown

Lines changed: 21 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ description: |-
55
Get information on the Github App Installation.
66
---
77

8+
9+
<!-- Please do not edit this file, it is generated. -->
810
# Data Source: tfe_github_app_installation
911

1012
Use this data source to get information about the Github App Installation.
@@ -14,31 +16,37 @@ Use this data source to get information about the Github App Installation.
1416
### Finding a Github App Installation by its installation ID
1517

1618
```python
17-
import constructs as constructs
18-
import cdktf as cdktf
19-
# Provider bindings are generated by running cdktf get.
19+
# Code generated by 'cdktf convert' - Please report bugs at https://cdk.tf/bug
20+
from constructs import Construct
21+
from cdktf import TerraformStack
22+
#
23+
# Provider bindings are generated by running `cdktf get`.
2024
# See https://cdk.tf/provider-generation for more details.
21-
import ...gen.providers.tfe as tfe
22-
class MyConvertedCode(cdktf.TerraformStack):
25+
#
26+
from imports.tfe.data_tfe_github_app_installation import DataTfeGithubAppInstallation
27+
class MyConvertedCode(TerraformStack):
2328
def __init__(self, scope, name):
2429
super().__init__(scope, name)
25-
tfe.data_tfe_github_app_installation.DataTfeGithubAppInstallation(self, "gha_installation",
30+
DataTfeGithubAppInstallation(self, "gha_installation",
2631
installation_id=12345
2732
)
2833
```
2934

3035
### Finding a Github App Installation by its name
3136

3237
```python
33-
import constructs as constructs
34-
import cdktf as cdktf
35-
# Provider bindings are generated by running cdktf get.
38+
# Code generated by 'cdktf convert' - Please report bugs at https://cdk.tf/bug
39+
from constructs import Construct
40+
from cdktf import TerraformStack
41+
#
42+
# Provider bindings are generated by running `cdktf get`.
3643
# See https://cdk.tf/provider-generation for more details.
37-
import ...gen.providers.tfe as tfe
38-
class MyConvertedCode(cdktf.TerraformStack):
44+
#
45+
from imports.tfe.data_tfe_github_app_installation import DataTfeGithubAppInstallation
46+
class MyConvertedCode(TerraformStack):
3947
def __init__(self, scope, name):
4048
super().__init__(scope, name)
41-
tfe.data_tfe_github_app_installation.DataTfeGithubAppInstallation(self, "gha_installation",
49+
DataTfeGithubAppInstallation(self, "gha_installation",
4250
name="installation_name"
4351
)
4452
```
@@ -57,4 +65,4 @@ Must be one of: `installation_id` or `name`.
5765
In addition to all arguments above, the following attributes are exported:
5866

5967
* `id` - The internal ID of the Github Installation. This is different from the `installation_id`.
60-
<!-- cache-key: cdktf-0.17.0-pre.15 input-0a4ff055d60c44b213a5dc7ce9fcb8c10208e9d24cd4e44f3a552a718ea64d50 -->
68+
<!-- cache-key: cdktf-0.17.1 input-0a4ff055d60c44b213a5dc7ce9fcb8c10208e9d24cd4e44f3a552a718ea64d50 -->

website/docs/cdktf/python/d/ip_ranges.html.markdown

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,24 +5,29 @@ description: |-
55
Get Terraform Cloud/Enterprise's IP ranges of its services
66
---
77

8+
9+
<!-- Please do not edit this file, it is generated. -->
810
# Data Source: tfe_ip_ranges
911

1012
Use this data source to retrieve a list of Terraform Cloud's IP ranges. For more information about these IP ranges, view our [documentation about Terraform Cloud IP Ranges](https://developer.hashicorp.com/terraform/cloud-docs/architectural-details/ip-ranges).
1113

1214
## Example Usage
1315

1416
```python
15-
import constructs as constructs
16-
import cdktf as cdktf
17-
# Provider bindings are generated by running cdktf get.
17+
# Code generated by 'cdktf convert' - Please report bugs at https://cdk.tf/bug
18+
from constructs import Construct
19+
from cdktf import TerraformOutput, TerraformStack
20+
#
21+
# Provider bindings are generated by running `cdktf get`.
1822
# See https://cdk.tf/provider-generation for more details.
19-
import ...gen.providers.tfe as tfe
20-
class MyConvertedCode(cdktf.TerraformStack):
23+
#
24+
from imports.tfe.data_tfe_ip_ranges import DataTfeIpRanges
25+
class MyConvertedCode(TerraformStack):
2126
def __init__(self, scope, name):
2227
super().__init__(scope, name)
23-
data_tfe_ip_ranges_addresses = tfe.data_tfe_ip_ranges.DataTfeIpRanges(self, "addresses")
24-
cdktf.TerraformOutput(self, "notifications_ips",
25-
value=data_tfe_ip_ranges_addresses.notifications
28+
addresses = DataTfeIpRanges(self, "addresses")
29+
TerraformOutput(self, "notifications_ips",
30+
value=addresses.notifications
2631
)
2732
```
2833

@@ -40,4 +45,4 @@ The following attributes are exported:
4045
* `vcs` - The list of IP ranges in CIDR notation used for connecting to VCS providers.
4146

4247

43-
<!-- cache-key: cdktf-0.17.0-pre.15 input-a34895b98b3769147c0512ab50d1c1788daf43f5ff3206286266831c516fc66b -->
48+
<!-- cache-key: cdktf-0.17.1 input-a34895b98b3769147c0512ab50d1c1788daf43f5ff3206286266831c516fc66b -->

website/docs/cdktf/python/d/oauth_client.html.markdown

Lines changed: 30 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ description: |-
55
Get information on an OAuth client.
66
---
77

8+
9+
<!-- Please do not edit this file, it is generated. -->
810
# Data Source: tfe_oauth_client
911

1012
Use this data source to get information about an OAuth client.
@@ -14,31 +16,37 @@ Use this data source to get information about an OAuth client.
1416
### Finding an OAuth client by its ID
1517

1618
```python
17-
import constructs as constructs
18-
import cdktf as cdktf
19-
# Provider bindings are generated by running cdktf get.
19+
# Code generated by 'cdktf convert' - Please report bugs at https://cdk.tf/bug
20+
from constructs import Construct
21+
from cdktf import TerraformStack
22+
#
23+
# Provider bindings are generated by running `cdktf get`.
2024
# See https://cdk.tf/provider-generation for more details.
21-
import ...gen.providers.tfe as tfe
22-
class MyConvertedCode(cdktf.TerraformStack):
25+
#
26+
from imports.tfe.data_tfe_oauth_client import DataTfeOauthClient
27+
class MyConvertedCode(TerraformStack):
2328
def __init__(self, scope, name):
2429
super().__init__(scope, name)
25-
tfe.data_tfe_oauth_client.DataTfeOauthClient(self, "client",
30+
DataTfeOauthClient(self, "client",
2631
oauth_client_id="oc-XXXXXXX"
2732
)
2833
```
2934

3035
### Finding an OAuth client by its name
3136

3237
```python
33-
import constructs as constructs
34-
import cdktf as cdktf
35-
# Provider bindings are generated by running cdktf get.
38+
# Code generated by 'cdktf convert' - Please report bugs at https://cdk.tf/bug
39+
from constructs import Construct
40+
from cdktf import TerraformStack
41+
#
42+
# Provider bindings are generated by running `cdktf get`.
3643
# See https://cdk.tf/provider-generation for more details.
37-
import ...gen.providers.tfe as tfe
38-
class MyConvertedCode(cdktf.TerraformStack):
44+
#
45+
from imports.tfe.data_tfe_oauth_client import DataTfeOauthClient
46+
class MyConvertedCode(TerraformStack):
3947
def __init__(self, scope, name):
4048
super().__init__(scope, name)
41-
tfe.data_tfe_oauth_client.DataTfeOauthClient(self, "client",
49+
DataTfeOauthClient(self, "client",
4250
name="my-oauth-client",
4351
organization="my-org"
4452
)
@@ -47,15 +55,18 @@ class MyConvertedCode(cdktf.TerraformStack):
4755
### Finding an OAuth client by its service provider
4856

4957
```python
50-
import constructs as constructs
51-
import cdktf as cdktf
52-
# Provider bindings are generated by running cdktf get.
58+
# Code generated by 'cdktf convert' - Please report bugs at https://cdk.tf/bug
59+
from constructs import Construct
60+
from cdktf import TerraformStack
61+
#
62+
# Provider bindings are generated by running `cdktf get`.
5363
# See https://cdk.tf/provider-generation for more details.
54-
import ...gen.providers.tfe as tfe
55-
class MyConvertedCode(cdktf.TerraformStack):
64+
#
65+
from imports.tfe.data_tfe_oauth_client import DataTfeOauthClient
66+
class MyConvertedCode(TerraformStack):
5667
def __init__(self, scope, name):
5768
super().__init__(scope, name)
58-
tfe.data_tfe_oauth_client.DataTfeOauthClient(self, "client",
69+
DataTfeOauthClient(self, "client",
5970
organization="my-org",
6071
service_provider="github"
6172
)
@@ -91,4 +102,4 @@ In addition to all arguments above, the following attributes are exported:
91102
* `service_provider` - The API identifier of the OAuth service provider.
92103
* `service_provider_display_name` - The display name of the OAuth service provider.
93104

94-
<!-- cache-key: cdktf-0.17.0-pre.15 input-59b4bcbbb310e7ee913a245f3c751829442542dbcf1bbb4c87ac286043b69348 -->
105+
<!-- cache-key: cdktf-0.17.1 input-59b4bcbbb310e7ee913a245f3c751829442542dbcf1bbb4c87ac286043b69348 -->

website/docs/cdktf/typescript/d/agent_pool.html.markdown

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,18 @@ Use this data source to get information about an agent pool.
1414
## Example Usage
1515

1616
```typescript
17-
import * as constructs from "constructs";
18-
import * as cdktf from "cdktf";
19-
/*Provider bindings are generated by running cdktf get.
20-
See https://cdk.tf/provider-generation for more details.*/
21-
import * as tfe from "./.gen/providers/tfe";
22-
class MyConvertedCode extends cdktf.TerraformStack {
23-
constructor(scope: constructs.Construct, name: string) {
17+
// Code generated by 'cdktf convert' - Please report bugs at https://cdk.tf/bug
18+
import { Construct } from "constructs";
19+
import { TerraformStack } from "cdktf";
20+
/*
21+
* Provider bindings are generated by running `cdktf get`.
22+
* See https://cdk.tf/provider-generation for more details.
23+
*/
24+
import { DataTfeAgentPool } from "./.gen/providers/tfe/data-tfe-agent-pool";
25+
class MyConvertedCode extends TerraformStack {
26+
constructor(scope: Construct, name: string) {
2427
super(scope, name);
25-
new tfe.dataTfeAgentPool.DataTfeAgentPool(this, "test", {
28+
new DataTfeAgentPool(this, "test", {
2629
name: "my-agent-pool-name",
2730
organization: "my-org-name",
2831
});
@@ -45,4 +48,4 @@ In addition to all arguments above, the following attributes are exported:
4548
* `id` - The agent pool ID.
4649
* `organizationScoped` - Whether or not the agent pool can be used by all workspaces in the organization.
4750

48-
<!-- cache-key: cdktf-0.17.0-pre.15 input-b223e1934ef43efb927b0566eadbb97c45112079ed23b335806e0098961b16f3 -->
51+
<!-- cache-key: cdktf-0.17.1 input-b223e1934ef43efb927b0566eadbb97c45112079ed23b335806e0098961b16f3 -->

website/docs/cdktf/typescript/d/github_installation.html.markdown

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ description: |-
55
Get information on the Github App Installation.
66
---
77

8+
9+
<!-- Please do not edit this file, it is generated. -->
810
# Data Source: tfe_github_app_installation
911

1012
Use this data source to get information about the Github App Installation.
@@ -14,21 +16,20 @@ Use this data source to get information about the Github App Installation.
1416
### Finding a Github App Installation by its installation ID
1517

1618
```typescript
17-
import * as constructs from "constructs";
18-
import * as cdktf from "cdktf";
19-
/*Provider bindings are generated by running cdktf get.
20-
See https://cdk.tf/provider-generation for more details.*/
21-
import * as tfe from "./.gen/providers/tfe";
22-
class MyConvertedCode extends cdktf.TerraformStack {
23-
constructor(scope: constructs.Construct, name: string) {
19+
// Code generated by 'cdktf convert' - Please report bugs at https://cdk.tf/bug
20+
import { Construct } from "constructs";
21+
import { TerraformStack } from "cdktf";
22+
/*
23+
* Provider bindings are generated by running `cdktf get`.
24+
* See https://cdk.tf/provider-generation for more details.
25+
*/
26+
import { DataTfeGithubAppInstallation } from "./.gen/providers/tfe/data-tfe-github-app-installation";
27+
class MyConvertedCode extends TerraformStack {
28+
constructor(scope: Construct, name: string) {
2429
super(scope, name);
25-
new tfe.dataTfeGithubAppInstallation.DataTfeGithubAppInstallation(
26-
this,
27-
"gha_installation",
28-
{
29-
installationId: 12345,
30-
}
31-
);
30+
new DataTfeGithubAppInstallation(this, "gha_installation", {
31+
installationId: 12345,
32+
});
3233
}
3334
}
3435

@@ -37,21 +38,20 @@ class MyConvertedCode extends cdktf.TerraformStack {
3738
### Finding a Github App Installation by its name
3839

3940
```typescript
40-
import * as constructs from "constructs";
41-
import * as cdktf from "cdktf";
42-
/*Provider bindings are generated by running cdktf get.
43-
See https://cdk.tf/provider-generation for more details.*/
44-
import * as tfe from "./.gen/providers/tfe";
45-
class MyConvertedCode extends cdktf.TerraformStack {
46-
constructor(scope: constructs.Construct, name: string) {
41+
// Code generated by 'cdktf convert' - Please report bugs at https://cdk.tf/bug
42+
import { Construct } from "constructs";
43+
import { TerraformStack } from "cdktf";
44+
/*
45+
* Provider bindings are generated by running `cdktf get`.
46+
* See https://cdk.tf/provider-generation for more details.
47+
*/
48+
import { DataTfeGithubAppInstallation } from "./.gen/providers/tfe/data-tfe-github-app-installation";
49+
class MyConvertedCode extends TerraformStack {
50+
constructor(scope: Construct, name: string) {
4751
super(scope, name);
48-
new tfe.dataTfeGithubAppInstallation.DataTfeGithubAppInstallation(
49-
this,
50-
"gha_installation",
51-
{
52-
name: "installation_name",
53-
}
54-
);
52+
new DataTfeGithubAppInstallation(this, "gha_installation", {
53+
name: "installation_name",
54+
});
5555
}
5656
}
5757

@@ -71,4 +71,4 @@ Must be one of: `installationId` or `name`.
7171
In addition to all arguments above, the following attributes are exported:
7272

7373
* `id` - The internal ID of the Github Installation. This is different from the `installationId`.
74-
<!-- cache-key: cdktf-0.17.0-pre.15 input-0a4ff055d60c44b213a5dc7ce9fcb8c10208e9d24cd4e44f3a552a718ea64d50 -->
74+
<!-- cache-key: cdktf-0.17.1 input-0a4ff055d60c44b213a5dc7ce9fcb8c10208e9d24cd4e44f3a552a718ea64d50 -->

0 commit comments

Comments
 (0)