Skip to content

Commit 6b4a90d

Browse files
committed
cdktf: update d/workspace_run_task.html.markdown,d/workspace_ids.html.markdown,d/workspace.html.markdown,d/variables.html.markdown,d/variable_set.html.markdown,d/team_project_access.html.markdown,d/team_access.html.markdown,d/team.html.markdown,d/ssh_key.html.markdown,d/slug.html.markdown
1 parent b14a302 commit 6b4a90d

20 files changed

+310
-214
lines changed

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

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ page_title: "Terraform Enterprise: tfe_slug"
44
description: |-
55
Manages files.
66
---
7+
8+
<!-- Please do not edit this file, it is generated. -->
79
# Data Source: tfe_slug
810

911
This data source is used to represent configuration files on a local filesystem
@@ -19,21 +21,25 @@ tar file containing configuration files (a Terraform "slug") when those files ch
1921
Tracking a local directory to upload the Sentinel configuration and policies:
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 Token, 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.tfe as tfe
27-
class MyConvertedCode(cdktf.TerraformStack):
30+
#
31+
from imports.tfe.data_tfe_slug import DataTfeSlug
32+
from imports.tfe.policy_set import PolicySet
33+
class MyConvertedCode(TerraformStack):
2834
def __init__(self, scope, name):
2935
super().__init__(scope, name)
30-
data_tfe_slug_test = tfe.data_tfe_slug.DataTfeSlug(self, "test",
36+
test = DataTfeSlug(self, "test",
3137
source_path="policies/my-policy-set"
3238
)
33-
tfe_policy_set_test = tfe.policy_set.PolicySet(self, "test_1",
39+
tfe_policy_set_test = PolicySet(self, "test_1",
3440
name="my-policy-set",
3541
organization="my-org-name",
36-
slug=cdktf.Token.as_string_map(data_tfe_slug_test)
42+
slug=Token.as_string_map(test)
3743
)
3844
# This allows the Terraform resource name to match the original name. You can remove the call if you don't need them to match.
3945
tfe_policy_set_test.override_logical_id("test")
@@ -45,4 +51,4 @@ The following arguments are supported:
4551

4652
* `source_path` - (Required) The path to the directory where the files are located.
4753

48-
<!-- cache-key: cdktf-0.17.0-pre.15 input-8546d8f7537661b4b2d4d594c4cb0f6ebd1b0e70ae9e1bcc6e145f33bd763e70 -->
54+
<!-- cache-key: cdktf-0.17.1 input-8546d8f7537661b4b2d4d594c4cb0f6ebd1b0e70ae9e1bcc6e145f33bd763e70 -->

website/docs/cdktf/python/d/ssh_key.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 a SSH key.
66
---
77

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

1012
Use this data source to get information about a SSH key.
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_ssh_key import DataTfeSshKey
25+
class MyConvertedCode(TerraformStack):
2126
def __init__(self, scope, name):
2227
super().__init__(scope, name)
23-
tfe.data_tfe_ssh_key.DataTfeSshKey(self, "test",
28+
DataTfeSshKey(self, "test",
2429
name="my-ssh-key-name",
2530
organization="my-org-name"
2631
)
@@ -39,4 +44,4 @@ In addition to all arguments above, the following attributes are exported:
3944

4045
* `id` - The ID of the SSH key.
4146

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

website/docs/cdktf/python/d/team.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 a team.
66
---
77

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

1012
Use this data source to get information about a team.
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_team import DataTfeTeam
25+
class MyConvertedCode(TerraformStack):
2126
def __init__(self, scope, name):
2227
super().__init__(scope, name)
23-
tfe.data_tfe_team.DataTfeTeam(self, "test",
28+
DataTfeTeam(self, "test",
2429
name="my-team-name",
2530
organization="my-org-name"
2631
)
@@ -40,4 +45,4 @@ In addition to all arguments above, the following attributes are exported:
4045
* `id` - The ID of the team.
4146
* `sso_team_id` - (Optional) The [SSO Team ID](https://developer.hashicorp.com/terraform/cloud-docs/users-teams-organizations/single-sign-on#team-names-and-sso-team-ids) of the team, if it has been defined
4247

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

website/docs/cdktf/python/d/team_access.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 team permissions on a workspace.
66
---
77

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

1012
Use this data source to get information about team permissions for a workspace.
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_team_access import DataTfeTeamAccess
25+
class MyConvertedCode(TerraformStack):
2126
def __init__(self, scope, name):
2227
super().__init__(scope, name)
23-
tfe.data_tfe_team_access.DataTfeTeamAccess(self, "test",
28+
DataTfeTeamAccess(self, "test",
2429
team_id="my-team-id",
2530
workspace_id="my-workspace-id"
2631
)
@@ -50,4 +55,4 @@ The `permissions` block contains:
5055
* `workspace_locking` - Whether permission is granted to manually lock the workspace or not.
5156
* `run_tasks` - Boolean determining whether or not to grant the team permission to manage workspace run tasks.
5257

53-
<!-- cache-key: cdktf-0.17.0-pre.15 input-95b20b8ad069cffffc1863d16cd9001f0074da34b788353d4b343912d7784d80 -->
58+
<!-- cache-key: cdktf-0.17.1 input-95b20b8ad069cffffc1863d16cd9001f0074da34b788353d4b343912d7784d80 -->

website/docs/cdktf/python/d/team_project_access.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 team permissions on a project.
66
---
77

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

1012
Use this data source to get information about team permissions for a project.
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_team_project_access import DataTfeTeamProjectAccess
25+
class MyConvertedCode(TerraformStack):
2126
def __init__(self, scope, name):
2227
super().__init__(scope, name)
23-
tfe.data_tfe_team_project_access.DataTfeTeamProjectAccess(self, "test",
28+
DataTfeTeamProjectAccess(self, "test",
2429
project_id="my-project-id",
2530
team_id="my-team-id"
2631
)
@@ -40,4 +45,4 @@ In addition to all arguments above, the following attributes are exported:
4045
* `id` The team project access ID.
4146
* `access` - The type of access granted to the team on the project.
4247

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

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

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ description: |-
55
Get information on organization variable sets.
66
---
77

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

1012
This data source is used to retrieve a named variable set
@@ -14,15 +16,18 @@ This data source is used to retrieve a named variable set
1416
For workspace variables:
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_variable_set import DataTfeVariableSet
27+
class MyConvertedCode(TerraformStack):
2328
def __init__(self, scope, name):
2429
super().__init__(scope, name)
25-
tfe.data_tfe_variable_set.DataTfeVariableSet(self, "test",
30+
DataTfeVariableSet(self, "test",
2631
name="my-variable-set-name",
2732
organization="my-org-name"
2833
)
@@ -44,5 +49,6 @@ The following arguments are supported:
4449
* `global` - Whether or not the variable set applies to all workspaces in the organization.
4550
* `workspace_ids` - IDs of the workspaces that use the variable set.
4651
* `variable_ids` - IDs of the variables attached to the variable set.
52+
* `project_ids` - IDs of the projects that use the variable set.
4753

48-
<!-- cache-key: cdktf-0.17.0-pre.15 input-d19707264366858a1d24d44e993aa1bb8dc96f8eae127bcd58f0769f48077a4f -->
54+
<!-- cache-key: cdktf-0.17.1 input-ae45fb346c802a01a9f7b3651d998c5c2a99783e046d2e156817923efbbe7dc3 -->

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

Lines changed: 27 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ description: |-
55
Get information on a workspace variables.
66
---
77

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

1012
This data source is used to retrieve all variables defined in a specified workspace
@@ -14,20 +16,24 @@ This data source is used to retrieve all variables defined in a specified worksp
1416
For workspace variables:
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 Token, 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_variables import DataTfeVariables
27+
from imports.tfe.data_tfe_workspace import DataTfeWorkspace
28+
class MyConvertedCode(TerraformStack):
2329
def __init__(self, scope, name):
2430
super().__init__(scope, name)
25-
data_tfe_workspace_test = tfe.data_tfe_workspace.DataTfeWorkspace(self, "test",
31+
test = DataTfeWorkspace(self, "test",
2632
name="my-workspace-name",
2733
organization="my-org-name"
2834
)
29-
data_tfe_variables_test = tfe.data_tfe_variables.DataTfeVariables(self, "test_1",
30-
workspace_id=cdktf.Token.as_string(data_tfe_workspace_test.id)
35+
data_tfe_variables_test = DataTfeVariables(self, "test_1",
36+
workspace_id=Token.as_string(test.id)
3137
)
3238
# This allows the Terraform resource name to match the original name. You can remove the call if you don't need them to match.
3339
data_tfe_variables_test.override_logical_id("test")
@@ -36,21 +42,24 @@ class MyConvertedCode(cdktf.TerraformStack):
3642
For variable set variables:
3743

3844
```python
39-
import constructs as constructs
40-
import cdktf as cdktf
41-
# 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 Token, TerraformStack
48+
#
49+
# Provider bindings are generated by running `cdktf get`.
4250
# See https://cdk.tf/provider-generation for more details.
43-
import ...gen.providers.tfe as tfe
44-
class MyConvertedCode(cdktf.TerraformStack):
51+
#
52+
from imports.tfe.data_tfe_variable_set import DataTfeVariableSet
53+
from imports.tfe.data_tfe_variables import DataTfeVariables
54+
class MyConvertedCode(TerraformStack):
4555
def __init__(self, scope, name):
4656
super().__init__(scope, name)
47-
data_tfe_variable_set_test =
48-
tfe.data_tfe_variable_set.DataTfeVariableSet(self, "test",
57+
test = DataTfeVariableSet(self, "test",
4958
name="my-variable-set-name",
5059
organization="my-org-name"
5160
)
52-
data_tfe_variables_test = tfe.data_tfe_variables.DataTfeVariables(self, "test_1",
53-
variable_set_id=cdktf.Token.as_string(data_tfe_variable_set_test.id)
61+
data_tfe_variables_test = DataTfeVariables(self, "test_1",
62+
variable_set_id=Token.as_string(test.id)
5463
)
5564
# This allows the Terraform resource name to match the original name. You can remove the call if you don't need them to match.
5665
data_tfe_variables_test.override_logical_id("test")
@@ -78,4 +87,4 @@ The `variables, terraform and env` blocks contains:
7887
* `sensitive` - If the variable is marked as sensitive or not
7988
* `hcl` - If the variable is marked as HCL or not
8089

81-
<!-- cache-key: cdktf-0.17.0-pre.15 input-635190fbcaed3640f0f12f181a3eae6abefebcbcad7f5806bfb392bb4097eaef -->
90+
<!-- cache-key: cdktf-0.17.1 input-635190fbcaed3640f0f12f181a3eae6abefebcbcad7f5806bfb392bb4097eaef -->

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

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,18 @@ Use this data source to get information about a workspace.
1616
## Example Usage
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_workspace import DataTfeWorkspace
27+
class MyConvertedCode(TerraformStack):
2528
def __init__(self, scope, name):
2629
super().__init__(scope, name)
27-
tfe.data_tfe_workspace.DataTfeWorkspace(self, "test",
30+
DataTfeWorkspace(self, "test",
2831
name="my-workspace-name",
2932
organization="my-org-name"
3033
)
@@ -84,4 +87,4 @@ The `vcs_repo` block contains:
8487
* `oauth_token_id` - OAuth token ID of the configured VCS connection.
8588
* `tags_regex` - A regular expression used to trigger a Workspace run for matching Git tags.
8689

87-
<!-- cache-key: cdktf-0.17.0-pre.15 input-031765b2961bc629e8d9019635a143979617a42923c522fb8f14fba23a365b45 -->
90+
<!-- cache-key: cdktf-0.17.1 input-031765b2961bc629e8d9019635a143979617a42923c522fb8f14fba23a365b45 -->

0 commit comments

Comments
 (0)