Skip to content

Commit fe0292b

Browse files
committed
cdktf: update d/saml_settings.html.markdown,d/project.html.markdown,d/policy_set.html.markdown,d/outputs.html.markdown,d/organizations.html.markdown,d/organization_tags.html.markdown,d/organization_run_task.html.markdown,d/organization_membership.html.markdown,d/organization_members.html.markdown,d/organization.html.markdown
1 parent 6b4a90d commit fe0292b

20 files changed

+327
-226
lines changed

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

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,27 @@ description: |-
55
Get information on an Organization.
66
---
77

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

1012
Use this data source to get information about an organization.
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 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_organization import DataTfeOrganization
25+
class MyConvertedCode(TerraformStack):
2126
def __init__(self, scope, name):
2227
super().__init__(scope, name)
23-
tfe.data_tfe_organization.DataTfeOrganization(self, "foo",
28+
DataTfeOrganization(self, "foo",
2429
name="organization-name"
2530
)
2631
```
@@ -43,4 +48,4 @@ In addition to all arguments above, the following attributes are exported:
4348
* `owners_team_saml_role_id` - The name of the "owners" team.
4449
* `send_passing_statuses_for_untriggered_speculative_plans` - Whether or not to send VCS status updates for untriggered speculative plans. This can be useful if large numbers of untriggered workspaces are exhausting request limits for connected version control service providers like GitHub. Defaults to true. In Terraform Enterprise, this setting has no effect and cannot be changed but is also available in Site Administration.
4550
* `default_project_id` - ID of the organization's default project. All workspaces created without specifying a project ID are created in this project.
46-
<!-- cache-key: cdktf-0.17.0-pre.15 input-73ec7085b3dbf61a45984fb7c74bac9c042ca20c175259f0650faf7acfa99133 -->
51+
<!-- cache-key: cdktf-0.17.1 input-73ec7085b3dbf61a45984fb7c74bac9c042ca20c175259f0650faf7acfa99133 -->

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

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,27 +5,33 @@ description: |-
55
Get information on an Organization members.
66
---
77

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

1012
Use this data source to get information about members of an organization.
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 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_organization_members import DataTfeOrganizationMembers
25+
from imports.tfe.organization import Organization
26+
class MyConvertedCode(TerraformStack):
2127
def __init__(self, scope, name):
2228
super().__init__(scope, name)
23-
tfe_organization_bar = tfe.organization.Organization(self, "bar",
29+
bar = Organization(self, "bar",
2430
2531
name="org-bar"
2632
)
27-
tfe.data_tfe_organization_members.DataTfeOrganizationMembers(self, "foo",
28-
organization=cdktf.Token.as_string(tfe_organization_bar.name)
33+
DataTfeOrganizationMembers(self, "foo",
34+
organization=bar.name
2935
)
3036
```
3137

@@ -46,4 +52,4 @@ The `member` block contains:
4652

4753
* `user_id` - The ID of the user.
4854
* `organization_membership_id` - The ID of the organization membership.
49-
<!-- cache-key: cdktf-0.17.0-pre.15 input-4c032c533c9de727b2406429de451318455dd383062b352da22d3b516529bb5b -->
55+
<!-- cache-key: cdktf-0.17.1 input-4c032c533c9de727b2406429de451318455dd383062b352da22d3b516529bb5b -->

website/docs/cdktf/python/d/organization_membership.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 an organization membership.
66
---
77

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

1012
Use this data source to get information about an organization membership.
@@ -20,15 +22,18 @@ be updated manually.
2022
### Fetch by email
2123

2224
```python
23-
import constructs as constructs
24-
import cdktf as cdktf
25-
# Provider bindings are generated by running cdktf get.
25+
# Code generated by 'cdktf convert' - Please report bugs at https://cdk.tf/bug
26+
from constructs import Construct
27+
from cdktf import TerraformStack
28+
#
29+
# Provider bindings are generated by running `cdktf get`.
2630
# See https://cdk.tf/provider-generation for more details.
27-
import ...gen.providers.tfe as tfe
28-
class MyConvertedCode(cdktf.TerraformStack):
31+
#
32+
from imports.tfe.data_tfe_organization_membership import DataTfeOrganizationMembership
33+
class MyConvertedCode(TerraformStack):
2934
def __init__(self, scope, name):
3035
super().__init__(scope, name)
31-
tfe.data_tfe_organization_membership.DataTfeOrganizationMembership(self, "test",
36+
DataTfeOrganizationMembership(self, "test",
3237
3338
organization="my-org-name"
3439
)
@@ -37,15 +42,18 @@ class MyConvertedCode(cdktf.TerraformStack):
3742
### Fetch by username
3843

3944
```python
40-
import constructs as constructs
41-
import cdktf as cdktf
42-
# Provider bindings are generated by running cdktf get.
45+
# Code generated by 'cdktf convert' - Please report bugs at https://cdk.tf/bug
46+
from constructs import Construct
47+
from cdktf import TerraformStack
48+
#
49+
# Provider bindings are generated by running `cdktf get`.
4350
# See https://cdk.tf/provider-generation for more details.
44-
import ...gen.providers.tfe as tfe
45-
class MyConvertedCode(cdktf.TerraformStack):
51+
#
52+
from imports.tfe.data_tfe_organization_membership import DataTfeOrganizationMembership
53+
class MyConvertedCode(TerraformStack):
4654
def __init__(self, scope, name):
4755
super().__init__(scope, name)
48-
tfe.data_tfe_organization_membership.DataTfeOrganizationMembership(self, "test",
56+
DataTfeOrganizationMembership(self, "test",
4957
organization="my-org-name",
5058
username="my-username"
5159
)
@@ -69,4 +77,4 @@ In addition to all arguments above, the following attributes are exported:
6977
* `user_id` - The ID of the user associated with the organization membership.
7078
* `username` - The username of the user associated with the organization membership.
7179

72-
<!-- cache-key: cdktf-0.17.0-pre.15 input-4a14b3c66d2d0654b6af772796f3c1bdf8871760782092fd770887fd1a21bb84 -->
80+
<!-- cache-key: cdktf-0.17.1 input-4a14b3c66d2d0654b6af772796f3c1bdf8871760782092fd770887fd1a21bb84 -->

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

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ description: |-
55
Get information on a Run task.
66
---
77

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

1012
[Run tasks](https://developer.hashicorp.com/terraform/cloud-docs/workspaces/settings/run-tasks) allow Terraform Cloud to interact with external systems at specific points in the Terraform Cloud run lifecycle. Run tasks are reusable configurations that you can attach to any workspace in an organization.
@@ -14,15 +16,18 @@ Use this data source to get information about an [Organization Run tasks](https:
1416
## Example Usage
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_organization_run_task import DataTfeOrganizationRunTask
27+
class MyConvertedCode(TerraformStack):
2328
def __init__(self, scope, name):
2429
super().__init__(scope, name)
25-
tfe.data_tfe_organization_run_task.DataTfeOrganizationRunTask(self, "example",
30+
DataTfeOrganizationRunTask(self, "example",
2631
name="task-name",
2732
organization="my-org-name"
2833
)
@@ -45,4 +50,4 @@ In addition to all arguments above, the following attributes are exported:
4550
* `id` - The ID of the task.
4651
* `url` - URL to send a task payload.
4752

48-
<!-- cache-key: cdktf-0.17.0-pre.15 input-7ffa3170dbbf69fd581f515eab6eaac9c5c936b21ba712b8803b32966fbb628c -->
53+
<!-- cache-key: cdktf-0.17.1 input-7ffa3170dbbf69fd581f515eab6eaac9c5c936b21ba712b8803b32966fbb628c -->

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

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,27 @@ description: |-
55
Get information on an organization's workspace tags.
66
---
77

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

1012
Use this data source to get information about the workspace tags for a given organization.
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 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_organization_tags import DataTfeOrganizationTags
25+
class MyConvertedCode(TerraformStack):
2126
def __init__(self, scope, name):
2227
super().__init__(scope, name)
23-
tfe.data_tfe_organization_tags.DataTfeOrganizationTags(self, "example",
28+
DataTfeOrganizationTags(self, "example",
2429
organization="my-org-name"
2530
)
2631
```
@@ -42,4 +47,4 @@ The `tag` block contains:
4247
* `name` - The name of the workspace tag
4348
* `id` - The ID of the workspace tag
4449
* `workspace_count` - The number of workspaces the tag is associate with
45-
<!-- cache-key: cdktf-0.17.0-pre.15 input-d15c1053d1d117c26eeb6475e9ca3ddc3aafc7a038a9de059581cc65071f7b11 -->
50+
<!-- cache-key: cdktf-0.17.1 input-d15c1053d1d117c26eeb6475e9ca3ddc3aafc7a038a9de059581cc65071f7b11 -->

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

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,27 @@ description: |-
55
Get information on Organizations.
66
---
77

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

1012
Use this data source to get a list of Organizations and a map of their IDs.
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 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_organizations import DataTfeOrganizations
25+
class MyConvertedCode(TerraformStack):
2126
def __init__(self, scope, name):
2227
super().__init__(scope, name)
23-
tfe.data_tfe_organizations.DataTfeOrganizations(self, "foo")
28+
DataTfeOrganizations(self, "foo")
2429
```
2530

2631
## Argument Reference
@@ -39,4 +44,4 @@ The following attributes are exported:
3944
* `names` - A list of names of every organization.
4045
* `ids` - A map of organization names and their IDs.
4146

42-
<!-- cache-key: cdktf-0.17.0-pre.15 input-354a91021f4f79c63498ca2f5ff88c87a3b80ebfa8571ca6f38023f333a05e12 -->
47+
<!-- cache-key: cdktf-0.17.1 input-354a91021f4f79c63498ca2f5ff88c87a3b80ebfa8571ca6f38023f333a05e12 -->

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

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ page_title: "Terraform Enterprise: tfe_outputs"
44
description: |-
55
Get output values from another organization/workspace.
66
---
7+
8+
<!-- Please do not edit this file, it is generated. -->
79
# Data Source: tfe_outputs
810

911
This data source is used to retrieve the state outputs for a given workspace.
@@ -19,25 +21,28 @@ Using the `tfe_outputs` data source, the outputs `foo` and `bar` can be used as
1921
In the example below, assume we have outputs defined in a `my-org/my-workspace`:
2022

2123
```python
22-
import constructs as constructs
23-
import cdktf as cdktf
24-
# Provider bindings are generated by running cdktf get.
24+
# Code generated by 'cdktf convert' - Please report bugs at https://cdk.tf/bug
25+
from constructs import Construct
26+
from cdktf import TerraformStack
27+
#
28+
# Provider bindings are generated by running `cdktf get`.
2529
# See https://cdk.tf/provider-generation for more details.
26-
import ...gen.providers.random as random
27-
import ...gen.providers.tfe as tfe
28-
class MyConvertedCode(cdktf.TerraformStack):
30+
#
31+
from imports.random.id import Id
32+
from imports.tfe.data_tfe_outputs import DataTfeOutputs
33+
class MyConvertedCode(TerraformStack):
2934
def __init__(self, scope, name):
3035
super().__init__(scope, name)
3136
# The following providers are missing schema information and might need manual adjustments to synthesize correctly: random.
3237
# For a more precise conversion please use the --provider flag in convert.
33-
data_tfe_outputs_foo = tfe.data_tfe_outputs.DataTfeOutputs(self, "foo",
38+
foo = DataTfeOutputs(self, "foo",
3439
organization="my-org",
3540
workspace="my-workspace"
3641
)
37-
random.id.Id(self, "vpc_id",
42+
Id(self, "vpc_id",
3843
byte_length=8,
3944
keepers=[{
40-
"bar": data_tfe_outputs_foo.values.bar
45+
"bar": foo.values.bar
4146
}
4247
]
4348
)
@@ -57,4 +62,4 @@ The following attributes are exported:
5762
* `values` - The current output values for the specified workspace.
5863
* `nonsensitive_values` - The current non-sensitive output values for the specified workspace, this is a subset of all output values.
5964

60-
<!-- cache-key: cdktf-0.17.0-pre.15 input-c5e0e650228e3496c8423d4ac324d85b57a7698f1129677436d66e6843b6b758 -->
65+
<!-- cache-key: cdktf-0.17.1 input-c5e0e650228e3496c8423d4ac324d85b57a7698f1129677436d66e6843b6b758 -->

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

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,18 @@ This data source is used to retrieve a policy set defined in a specified organiz
1616
For workspace policies:
1717

1818
```python
19-
import constructs as constructs
20-
import cdktf as cdktf
21-
# 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`.
2224
# See https://cdk.tf/provider-generation for more details.
23-
import ...gen.providers.tfe as tfe
24-
class MyConvertedCode(cdktf.TerraformStack):
25+
#
26+
from imports.tfe.data_tfe_policy_set import DataTfePolicySet
27+
class MyConvertedCode(TerraformStack):
2528
def __init__(self, scope, name):
2629
super().__init__(scope, name)
27-
tfe.data_tfe_policy_set.DataTfePolicySet(self, "test",
30+
DataTfePolicySet(self, "test",
2831
name="my-policy-set-name",
2932
organization="my-org-name"
3033
)
@@ -63,4 +66,4 @@ The `vcs_repo` block contains:
6366
* `oauth_token_id` - OAuth token ID of the configured VCS connection.
6467

6568

66-
<!-- cache-key: cdktf-0.17.0-pre.15 input-54cb92dfae22abe76f4a8306daadcae6353d03b00d72dfbb74c8950c625507e0 -->
69+
<!-- cache-key: cdktf-0.17.1 input-54cb92dfae22abe76f4a8306daadcae6353d03b00d72dfbb74c8950c625507e0 -->

0 commit comments

Comments
 (0)