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 {
3939 Type : schema .TypeSet ,
4040 Optional : true ,
4141 Elem : & schema.Schema {
42- Type : schema .TypeString ,
42+ Type : schema .TypeString ,g
4343 },
4444 },
4545 },
Original file line number Diff line number Diff line change @@ -91,4 +91,3 @@ resource "codefresh_team" "team_1" {
9191
9292- ` id ` - The Key ID.
9393- ` 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