-
Notifications
You must be signed in to change notification settings - Fork 157
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cdktf: update r/saml_settings.html.markdown,r/run_trigger.html.markdo…
…wn,r/registry_module.html.markdown,r/project_variable_set.html.markdown,r/project_policy_set.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
- Loading branch information
1 parent
0dfb6a3
commit c25f4dd
Showing
20 changed files
with
718 additions
and
557 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,28 +16,32 @@ Creates, updates and destroys policy set parameters. | |
Basic usage: | ||
|
||
```python | ||
import constructs as constructs | ||
import cdktf as cdktf | ||
# Provider bindings are generated by running cdktf get. | ||
# DO NOT EDIT. Code generated by 'cdktf convert' - Please report bugs at https://cdk.tf/bug | ||
from constructs import Construct | ||
from cdktf import Token, TerraformStack | ||
# | ||
# Provider bindings are generated by running `cdktf get`. | ||
# See https://cdk.tf/provider-generation for more details. | ||
import ...gen.providers.tfe as tfe | ||
class MyConvertedCode(cdktf.TerraformStack): | ||
# | ||
from imports.tfe.organization import Organization | ||
from imports.tfe.policy_set import PolicySet | ||
from imports.tfe.policy_set_parameter import PolicySetParameter | ||
class MyConvertedCode(TerraformStack): | ||
def __init__(self, scope, name): | ||
super().__init__(scope, name) | ||
tfe_organization_test = tfe.organization.Organization(self, "test", | ||
test = Organization(self, "test", | ||
email="[email protected]", | ||
name="my-org-name" | ||
) | ||
tfe_policy_set_test = tfe.policy_set.PolicySet(self, "test_1", | ||
tfe_policy_set_test = PolicySet(self, "test_1", | ||
name="my-policy-set-name", | ||
organization=cdktf.Token.as_string(tfe_organization_test.id) | ||
organization=test.id | ||
) | ||
# This allows the Terraform resource name to match the original name. You can remove the call if you don't need them to match. | ||
tfe_policy_set_test.override_logical_id("test") | ||
tfe_policy_set_parameter_test = | ||
tfe.policy_set_parameter.PolicySetParameter(self, "test_2", | ||
tfe_policy_set_parameter_test = PolicySetParameter(self, "test_2", | ||
key="my_key_name", | ||
policy_set_id=cdktf.Token.as_string(tfe_policy_set_test.id), | ||
policy_set_id=Token.as_string(tfe_policy_set_test.id), | ||
value="my_value_name" | ||
) | ||
# This allows the Terraform resource name to match the original name. You can remove the call if you don't need them to match. | ||
|
@@ -69,4 +73,4 @@ terraform import tfe_policy_set_parameter.test polset-wAs3zYmWAhYK7peR/var-5rTwn | |
``` | ||
|
||
|
||
<!-- cache-key: cdktf-0.17.0-pre.15 input-3d439f538435c91fac393d64ba8c1ac4db8481770f20e794bdb2cde671211a74 --> | ||
<!-- cache-key: cdktf-0.19.0 input-3d439f538435c91fac393d64ba8c1ac4db8481770f20e794bdb2cde671211a74 --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,21 +16,25 @@ Provides a project resource. | |
Basic usage: | ||
|
||
```python | ||
import constructs as constructs | ||
import cdktf as cdktf | ||
# Provider bindings are generated by running cdktf get. | ||
# DO NOT EDIT. Code generated by 'cdktf convert' - Please report bugs at https://cdk.tf/bug | ||
from constructs import Construct | ||
from cdktf import TerraformStack | ||
# | ||
# Provider bindings are generated by running `cdktf get`. | ||
# See https://cdk.tf/provider-generation for more details. | ||
import ...gen.providers.tfe as tfe | ||
class MyConvertedCode(cdktf.TerraformStack): | ||
# | ||
from imports.tfe.organization import Organization | ||
from imports.tfe.project import Project | ||
class MyConvertedCode(TerraformStack): | ||
def __init__(self, scope, name): | ||
super().__init__(scope, name) | ||
tfe_organization_test_organization = tfe.organization.Organization(self, "test-organization", | ||
test_organization = Organization(self, "test-organization", | ||
email="[email protected]", | ||
name="my-org-name" | ||
) | ||
tfe.project.Project(self, "test", | ||
Project(self, "test", | ||
name="projectname", | ||
organization=cdktf.Token.as_string(tfe_organization_test_organization.name) | ||
organization=test_organization.name | ||
) | ||
``` | ||
|
||
|
@@ -55,4 +59,4 @@ Projects can be imported; use `<PROJECT ID>` as the import ID. For example: | |
terraform import tfe_project.test prj-niVoeESBXT8ZREhr | ||
``` | ||
|
||
<!-- cache-key: cdktf-0.17.0-pre.15 input-1474b825c9c589412c43de4a18e1a76520a956d36d14e4f1d48fea36baf71f3c --> | ||
<!-- cache-key: cdktf-0.19.0 input-1474b825c9c589412c43de4a18e1a76520a956d36d14e4f1d48fea36baf71f3c --> |
Oops, something went wrong.