You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-> **Note:** You can fetch a Terraform version ID from the URL of an existing version in the Terraform Cloud UI. The ID is in the format `tool-<RANDOM STRING>`
@@ -117,33 +129,41 @@ While the `value` field may be referenced in other resources, for safety it is a
117
129
The `readable_value` attribute is not sensitive, and will not be redacted; instead, it will be null if the variable is sensitive. This allows other resources to reference it, while keeping their plan outputs readable.
118
130
119
131
For example:
120
-
```
121
-
resource "tfe_variable" "sensitive_var" {
122
-
key = "sensitive_key"
123
-
value = "sensitive_value" // this will be redacted from plan outputs
124
-
category = "terraform"
125
-
workspace_id = tfe_workspace.workspace.id
126
-
sensitive = true
127
-
}
128
-
129
-
resource "tfe_variable" "visible_var" {
130
-
key = "visible_key"
131
-
value = "visible_value" // this will be redacted from plan outputs
132
-
category = "terraform"
133
-
workspace_id = tfe_workspace.workspace.id
134
-
sensitive = false
135
-
}
136
-
137
-
resource "tfe_workspace" "sensitive_workspace" {
138
-
name = "workspace-${tfe_variable.sensitive_var.value}" // this will be redacted from plan outputs
139
-
organization = "organization name"
140
-
}
141
-
142
-
resource "tfe_workspace" "visible_workspace" {
143
-
name = "workspace-${tfe_variable.visible_var.readable_value}" // this will not be redacted from plan outputs
144
-
organization = "organization name"
145
-
}
146
-
132
+
```python
133
+
# Code generated by 'cdktf convert' - Please report bugs at https://cdk.tf/bug
134
+
from constructs import Construct
135
+
from cdktf import TerraformStack
136
+
#
137
+
# Provider bindings are generated by running `cdktf get`.
138
+
# See https://cdk.tf/provider-generation for more details.
0 commit comments