-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
33 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# Team resource | ||
|
||
Team is used as a part of access control and allow to define what teams have access to which clusters and pipelines. | ||
See the [documentation](https://codefresh.io/docs/docs/administration/access-control/). | ||
|
||
## Example usage | ||
|
||
```hcl | ||
resource "codefresh_team" "developers" { | ||
name = "developers" | ||
users = [ | ||
"5efc3cb6355c6647041b6e49", | ||
"59009221c102763beda7cf04" | ||
] | ||
} | ||
``` | ||
|
||
## Argument Reference | ||
|
||
- `name` - (Required) The display name for the team. | ||
- `type` - (Optional) The type of the team. Possible values: | ||
- __default__ | ||
- __admin__ | ||
- `tags` - (Optional) A list of tags to mark a team for easy management. | ||
- `users` - (Optional) A list of user IDs that should be in the team. | ||
|
||
## Attributes Reference | ||
|
||
- `id` - The Team ID. | ||
- `account_id` - The relevant Account ID. |