File tree Expand file tree Collapse file tree 3 files changed +33
-2
lines changed Expand file tree Collapse file tree 3 files changed +33
-2
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ func resourceTeam() *schema.Resource {
39
39
Type : schema .TypeSet ,
40
40
Optional : true ,
41
41
Elem : & schema.Schema {
42
- Type : schema .TypeString ,
42
+ Type : schema .TypeString ,g
43
43
},
44
44
},
45
45
},
Original file line number Diff line number Diff line change @@ -91,4 +91,3 @@ resource "codefresh_team" "team_1" {
91
91
92
92
- ` id ` - The Key ID.
93
93
- ` token ` - The Token, that should used as a new provider's token attribute.
94
-
Original file line number Diff line number Diff line change
1
+ # Team resource
2
+
3
+ Team is used as a part of access control and allow to define what teams have access to which clusters and pipelines.
4
+ See the [ documentation] ( https://codefresh.io/docs/docs/administration/access-control/ ) .
5
+
6
+ ## Example usage
7
+
8
+ ``` hcl
9
+ resource "codefresh_team" "developers" {
10
+
11
+ name = "developers"
12
+
13
+ users = [
14
+ "5efc3cb6355c6647041b6e49",
15
+ "59009221c102763beda7cf04"
16
+ ]
17
+ }
18
+ ```
19
+
20
+ ## Argument Reference
21
+
22
+ - ` name ` - (Required) The display name for the team.
23
+ - ` type ` - (Optional) The type of the team. Possible values:
24
+ - __ default__
25
+ - __ admin__
26
+ - ` tags ` - (Optional) A list of tags to mark a team for easy management.
27
+ - ` users ` - (Optional) A list of user IDs that should be in the team.
28
+
29
+ ## Attributes Reference
30
+
31
+ - ` id ` - The Team ID.
32
+ - ` account_id ` - The relevant Account ID.
You can’t perform that action at this time.
0 commit comments