@@ -175,7 +175,7 @@ This resource can be used to self manage a workspace created from `terraform ini
175
175
``` python
176
176
# DO NOT EDIT. Code generated by 'cdktf convert' - Please report bugs at https://cdk.tf/bug
177
177
from constructs import Construct
178
- from cdktf import Fn, Token, TerraformStack
178
+ from cdktf import Token, TerraformStack
179
179
#
180
180
# Provider bindings are generated by running `cdktf get`.
181
181
# See https://cdk.tf/provider-generation for more details.
@@ -186,10 +186,8 @@ class MyConvertedCode(TerraformStack):
186
186
def __init__ (self , scope , name ):
187
187
super ().__init__ (scope, name)
188
188
self = DataTfeWorkspace(self , " self" ,
189
- name = Token.as_string(
190
- Fn.lookup_nested(Fn.split(" /" , tfc_workspace_slug.string_value), [" 1" ])),
191
- organization = Token.as_string(
192
- Fn.lookup_nested(Fn.split(" /" , tfc_workspace_slug.string_value), [" 0" ]))
189
+ name = " self-managed" ,
190
+ organization = " foo"
193
191
)
194
192
tfe_workspace_settings_self = WorkspaceSettings(self , " self_1" ,
195
193
assessments_enabled = True ,
@@ -242,4 +240,4 @@ terraform import tfe_workspace_settings.test ws-CH5in3chf8RJjrVd
242
240
terraform import tfe_workspace_settings.test my-org-name/my-wkspace-name
243
241
```
244
242
245
- <!-- cache-key: cdktf-0.20.8 input-ae37db8425cb90bf9d23460da7f257de504c63f7e3ecf246d845b2d4ccfe3df1 -->
243
+ <!-- cache-key: cdktf-0.20.8 input-f1d216f1370b1d9132b01fb3aa83be95a84df918dc873a73de20e2c851d5dc85 -->
0 commit comments