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
Copy file name to clipboardExpand all lines: website/docs/cdktf/python/d/team.html.markdown
+12-7Lines changed: 12 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,22 +5,27 @@ description: |-
5
5
Get information on a team.
6
6
---
7
7
8
+
9
+
<!-- Please do not edit this file, it is generated. -->
8
10
# Data Source: tfe_team
9
11
10
12
Use this data source to get information about a team.
11
13
12
14
## Example Usage
13
15
14
16
```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`.
18
22
# See https://cdk.tf/provider-generation for more details.
19
-
import...gen.providers.tfe as tfe
20
-
classMyConvertedCode(cdktf.TerraformStack):
23
+
#
24
+
from imports.tfe.data_tfe_team import DataTfeTeam
25
+
classMyConvertedCode(TerraformStack):
21
26
def__init__(self, scope, name):
22
27
super().__init__(scope, name)
23
-
tfe.data_tfe_team.DataTfeTeam(self, "test",
28
+
DataTfeTeam(self, "test",
24
29
name="my-team-name",
25
30
organization="my-org-name"
26
31
)
@@ -40,4 +45,4 @@ In addition to all arguments above, the following attributes are exported:
40
45
*`id` - The ID of the team.
41
46
*`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
0 commit comments