Skip to content

Commit 28fbc84

Browse files
committed
cdktf: update index.html.markdown,r/workspace_variable_set.html.markdown,r/workspace_settings.markdown,r/workspace_run_task.html.markdown,r/workspace_run.html.markdown,r/workspace_policy_set_exclusion.html.markdown,r/workspace_policy_set.html.markdown,r/workspace.html.markdown,r/variable_set.html.markdown,r/variable.html.markdown,r/tfe_test_variable.html.markdown,r/terraform_version.html.markdown,r/team_token.html.markdown,r/team_project_access.html.markdown,r/team_organization_members.html.markdown,r/team_organization_member.html.markdown,r/team_notification_configuration.html.markdown,r/team_members.html.markdown,r/team_member.html.markdown,r/team_access.html.markdown,r/team.html.markdown,r/stack.html.markdown,r/ssh_key.html.markdown,r/sentinel_version.html.markdown,r/sentinel_policy.html.markdown,r/saml_settings.html.markdown,r/run_trigger.html.markdown,r/registry_provider.html.markdown,r/registry_module.html.markdown,r/registry_gpg_key.html.markdown,r/project_variable_set.html.markdown,r/project_policy_set.html.markdown,r/project_oauth_client.html.markdown,r/project.html.markdown,r/policy_set_parameter.html.markdown,r/policy_set.html.markdown,r/policy.html.markdown,r/organization_token.html.markdown,r/organization_run_task_global_settings.html.markdown,r/organization_run_task.html.markdown,r/organization_module_sharing.html.markdown,r/organization_membership.html.markdown,r/organization_default_settings.html.markdown,r/organization.html.markdown,r/opa_version.html.markdown,r/oauth_client.html.markdown,r/notification_configuration.html.markdown,r/no_code_module.html.markdown,r/data_retention_policy.html.markdown,r/audit_trail_token.html.markdown,r/agent_token.html.markdown,r/agent_pool_allowed_workspaces.html.markdown,r/agent_pool.html.markdown,r/admin_organization_settings.markdown,ephemeral-resources/team_token.html.markdown,ephemeral-resources/outputs.html.markdown,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/teams.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,d/saml_settings.html.markdown,d/registry_providers.html.markdown,d/registry_provider.html.markdown,d/registry_module.html.markdown,d/registry_gpg_keys.html.markdown,d/registry_gpg_key.html.markdown,d/projects.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_global_settings.html.markdown,d/organization_run_task.html.markdown,d/organization_membership.html.markdown,d/organization_members.html.markdown,d/organization.html.markdown,d/oauth_client.html.markdown,d/no_code_module.html.markdown,d/ip_ranges.html.markdown,d/github_app_installation.html.markdown,d/agent_pool.html.markdown
1 parent 516409f commit 28fbc84

File tree

178 files changed

+5424
-4171
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

178 files changed

+5424
-4171
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+
# DO NOT EDIT. 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.20.8 input-b223e1934ef43efb927b0566eadbb97c45112079ed23b335806e0098961b16f3 -->

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

Lines changed: 19 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -16,31 +16,37 @@ Use this data source to get information about the Github App Installation.
1616
### Finding a Github App Installation by its installation ID
1717

1818
```python
19-
import constructs as constructs
20-
import cdktf as cdktf
21-
# Provider bindings are generated by running cdktf get.
19+
# DO NOT EDIT. 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_github_app_installation import DataTfeGithubAppInstallation
27+
class MyConvertedCode(TerraformStack):
2528
def __init__(self, scope, name):
2629
super().__init__(scope, name)
27-
tfe.data_tfe_github_app_installation.DataTfeGithubAppInstallation(self, "gha_installation",
30+
DataTfeGithubAppInstallation(self, "gha_installation",
2831
installation_id=12345678
2932
)
3033
```
3134

3235
### Finding a Github App Installation by its name
3336

3437
```python
35-
import constructs as constructs
36-
import cdktf as cdktf
37-
# Provider bindings are generated by running cdktf get.
38+
# DO NOT EDIT. 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`.
3843
# See https://cdk.tf/provider-generation for more details.
39-
import ...gen.providers.tfe as tfe
40-
class MyConvertedCode(cdktf.TerraformStack):
44+
#
45+
from imports.tfe.data_tfe_github_app_installation import DataTfeGithubAppInstallation
46+
class MyConvertedCode(TerraformStack):
4147
def __init__(self, scope, name):
4248
super().__init__(scope, name)
43-
tfe.data_tfe_github_app_installation.DataTfeGithubAppInstallation(self, "gha_installation",
49+
DataTfeGithubAppInstallation(self, "gha_installation",
4450
name="github_username_or_organization"
4551
)
4652
```
@@ -60,4 +66,4 @@ In addition to all arguments above, the following attributes are exported:
6066

6167
* `id` - The internal ID of the Github Installation. This is different from the `installation_id`.
6268

63-
<!-- cache-key: cdktf-0.17.0-pre.15 input-5d439ec2ae1e837495b8cb500e2fcfe96d47a32f9fce3a10ffac876fe18a89dc -->
69+
<!-- cache-key: cdktf-0.20.8 input-5d439ec2ae1e837495b8cb500e2fcfe96d47a32f9fce3a10ffac876fe18a89dc -->

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

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,20 @@ Use this data source to retrieve a list of HCP Terraform's IP ranges. For more i
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+
# DO NOT EDIT. 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`.
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_ip_ranges import DataTfeIpRanges
25+
class MyConvertedCode(TerraformStack):
2326
def __init__(self, scope, name):
2427
super().__init__(scope, name)
25-
data_tfe_ip_ranges_addresses = tfe.data_tfe_ip_ranges.DataTfeIpRanges(self, "addresses")
26-
cdktf.TerraformOutput(self, "notifications_ips",
27-
value=data_tfe_ip_ranges_addresses.notifications
28+
addresses = DataTfeIpRanges(self, "addresses")
29+
TerraformOutput(self, "notifications_ips",
30+
value=addresses.notifications
2831
)
2932
```
3033

@@ -41,4 +44,4 @@ The following attributes are exported:
4144
* `sentinel` - The list of IP ranges in CIDR notation used for outbound requests from Sentinel policies. Applicable for [Policy Checks](https://developer.hashicorp.com/terraform/cloud-docs/policy-enforcement/manage-policy-sets#policy-checks) mode only (also known as Legacy mode).
4245
* `vcs` - The list of IP ranges in CIDR notation used for connecting to VCS providers.
4346

44-
<!-- cache-key: cdktf-0.17.0-pre.15 input-c9c4fa079084ce6fc5f646edebfeaf7e0fb8b889f834f6f8469103fcbdb27d3e -->
47+
<!-- cache-key: cdktf-0.20.8 input-c9c4fa079084ce6fc5f646edebfeaf7e0fb8b889f834f6f8469103fcbdb27d3e -->

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

Lines changed: 23 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,28 @@ Use this data source to read the details of an existing No-Code-Allowed module.
1313

1414
## Example Usage
1515

16-
```hcl
17-
resource "tfe_no_code_module" "foobar" {
18-
organization = tfe_organization.foobar.id
19-
registry_module = tfe_registry_module.foobar.id
20-
}
21-
22-
data "tfe_no_code_module" "foobar" {
23-
id = tfe_no_code_module.foobar.id
24-
}
16+
```python
17+
# DO NOT EDIT. Code generated by 'cdktf convert' - Please report bugs at https://cdk.tf/bug
18+
from constructs import Construct
19+
from cdktf import Token, TerraformStack
20+
#
21+
# Provider bindings are generated by running `cdktf get`.
22+
# See https://cdk.tf/provider-generation for more details.
23+
#
24+
from imports.tfe.data_tfe_no_code_module import DataTfeNoCodeModule
25+
from imports.tfe.no_code_module import NoCodeModule
26+
class MyConvertedCode(TerraformStack):
27+
def __init__(self, scope, name):
28+
super().__init__(scope, name)
29+
foobar = NoCodeModule(self, "foobar",
30+
organization=Token.as_string(tfe_organization_foobar.id),
31+
registry_module=Token.as_string(tfe_registry_module_foobar.id)
32+
)
33+
data_tfe_no_code_module_foobar = DataTfeNoCodeModule(self, "foobar_1",
34+
id=foobar.id
35+
)
36+
# This allows the Terraform resource name to match the original name. You can remove the call if you don't need them to match.
37+
data_tfe_no_code_module_foobar.override_logical_id("foobar")
2538
```
2639

2740
## Argument Reference
@@ -39,4 +52,4 @@ The following arguments are supported:
3952
* `version_pin` - Version number the no-code module is pinned to.
4053
* `enabled` - Indicates if this no-code module is currently enabled
4154

42-
<!-- cache-key: cdktf-0.17.0-pre.15 input-575fd9c85b909c532a6abcfecdf6262d4ba6675f544b4a4a3a15b6c519eab693 -->
55+
<!-- cache-key: cdktf-0.20.8 input-575fd9c85b909c532a6abcfecdf6262d4ba6675f544b4a4a3a15b6c519eab693 -->

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

Lines changed: 28 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -16,31 +16,37 @@ Use this data source to get information about an OAuth client.
1616
### Finding an OAuth client by its ID
1717

1818
```python
19-
import constructs as constructs
20-
import cdktf as cdktf
21-
# Provider bindings are generated by running cdktf get.
19+
# DO NOT EDIT. 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_oauth_client import DataTfeOauthClient
27+
class MyConvertedCode(TerraformStack):
2528
def __init__(self, scope, name):
2629
super().__init__(scope, name)
27-
tfe.data_tfe_oauth_client.DataTfeOauthClient(self, "client",
30+
DataTfeOauthClient(self, "client",
2831
oauth_client_id="oc-XXXXXXX"
2932
)
3033
```
3134

3235
### Finding an OAuth client by its name
3336

3437
```python
35-
import constructs as constructs
36-
import cdktf as cdktf
37-
# Provider bindings are generated by running cdktf get.
38+
# DO NOT EDIT. 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`.
3843
# See https://cdk.tf/provider-generation for more details.
39-
import ...gen.providers.tfe as tfe
40-
class MyConvertedCode(cdktf.TerraformStack):
44+
#
45+
from imports.tfe.data_tfe_oauth_client import DataTfeOauthClient
46+
class MyConvertedCode(TerraformStack):
4147
def __init__(self, scope, name):
4248
super().__init__(scope, name)
43-
tfe.data_tfe_oauth_client.DataTfeOauthClient(self, "client",
49+
DataTfeOauthClient(self, "client",
4450
name="my-oauth-client",
4551
organization="my-org"
4652
)
@@ -49,15 +55,18 @@ class MyConvertedCode(cdktf.TerraformStack):
4955
### Finding an OAuth client by its service provider
5056

5157
```python
52-
import constructs as constructs
53-
import cdktf as cdktf
54-
# Provider bindings are generated by running cdktf get.
58+
# DO NOT EDIT. 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`.
5563
# See https://cdk.tf/provider-generation for more details.
56-
import ...gen.providers.tfe as tfe
57-
class MyConvertedCode(cdktf.TerraformStack):
64+
#
65+
from imports.tfe.data_tfe_oauth_client import DataTfeOauthClient
66+
class MyConvertedCode(TerraformStack):
5867
def __init__(self, scope, name):
5968
super().__init__(scope, name)
60-
tfe.data_tfe_oauth_client.DataTfeOauthClient(self, "client",
69+
DataTfeOauthClient(self, "client",
6170
organization="my-org",
6271
service_provider="github"
6372
)
@@ -94,4 +103,4 @@ In addition to all arguments above, the following attributes are exported:
94103
* `service_provider_display_name` - The display name of the OAuth service provider.
95104
* `organization_scoped` - Whether or not the agent pool can be used by all workspaces and projects in the organization.
96105
* `project_ids` - IDs of the projects that use the oauth client.
97-
<!-- cache-key: cdktf-0.17.0-pre.15 input-001f05442f17fd9a94d45188c279515be0f5fbe96f6057ed44a16f3e9be03580 -->
106+
<!-- cache-key: cdktf-0.20.8 input-001f05442f17fd9a94d45188c279515be0f5fbe96f6057ed44a16f3e9be03580 -->

website/docs/cdktf/python/d/organization.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 organization.
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+
# DO NOT EDIT. 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_organization import DataTfeOrganization
25+
class MyConvertedCode(TerraformStack):
2326
def __init__(self, scope, name):
2427
super().__init__(scope, name)
25-
tfe.data_tfe_organization.DataTfeOrganization(self, "foo",
28+
DataTfeOrganization(self, "foo",
2629
name="organization-name"
2730
)
2831
```
@@ -47,4 +50,4 @@ In addition to all arguments above, the following attributes are exported:
4750
* `speculative_plan_management_enabled` - Whether or not to enable Speculative Plan Management. If true, pending VCS-triggered speculative plans from outdated commits will be cancelled if a newer commit is pushed to the same branch.
4851
* `default_project_id` - ID of the organization's default project. All workspaces created without specifying a project ID are created in this project.
4952

50-
<!-- cache-key: cdktf-0.17.0-pre.15 input-9b73f546422e0ab13be41c89f26de4669725b44bfaf8e4720bbd31f838e37f2f -->
53+
<!-- cache-key: cdktf-0.20.8 input-9b73f546422e0ab13be41c89f26de4669725b44bfaf8e4720bbd31f838e37f2f -->

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

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,20 +14,24 @@ Use this data source to get information about members of an organization.
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+
# DO NOT EDIT. 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_organization_members import DataTfeOrganizationMembers
25+
from imports.tfe.organization import Organization
26+
class MyConvertedCode(TerraformStack):
2327
def __init__(self, scope, name):
2428
super().__init__(scope, name)
25-
tfe_organization_bar = tfe.organization.Organization(self, "bar",
29+
bar = Organization(self, "bar",
2630
2731
name="org-bar"
2832
)
29-
tfe.data_tfe_organization_members.DataTfeOrganizationMembers(self, "foo",
30-
organization=cdktf.Token.as_string(tfe_organization_bar.name)
33+
DataTfeOrganizationMembers(self, "foo",
34+
organization=bar.name
3135
)
3236
```
3337

@@ -48,4 +52,4 @@ The `member` block contains:
4852

4953
* `user_id` - The ID of the user.
5054
* `organization_membership_id` - The ID of the organization membership.
51-
<!-- cache-key: cdktf-0.17.0-pre.15 input-4c032c533c9de727b2406429de451318455dd383062b352da22d3b516529bb5b -->
55+
<!-- cache-key: cdktf-0.20.8 input-4c032c533c9de727b2406429de451318455dd383062b352da22d3b516529bb5b -->

0 commit comments

Comments
 (0)