page_title | subcategory |
---|---|
FireHydrant Data Source: firehydrant_teams |
Use this data source to get information on all teams matching the given criteria.
Basic usage:
data "firehydrant_teams" "all-teams" {
}
Getting all teams with database
in the name:
data "firehydrant_teams" "database-named-teams" {
query = "database"
}
The following arguments are supported:
query
- (Optional) A query to search for teams by their name.
In addition to all arguments above, the following attributes are exported:
teams
- All the teams matching the criteria specified byquery
.
The teams
block contains:
id
- The ID of the team.name
- The name of the team.description
- A description of the team.slug
- The slug for the team.service_ids
- A set of IDs of the services associated with this teamowned_service_ids
- A set of IDs of the services owned by this team