mirror of
https://github.com/fleetdm/fleet
synced 2026-04-21 21:47:20 +00:00
This project adds support for terraforming teams in Fleet. If you have 100+ teams, managing them is is prone to error, mistakes, lost configuration, and general pain. An industry standard tool like terraform can unify this configuration as code. In order to do this, I wrote a terraform provider that on one end talks to the Fleet api, and on the other end implements an interface for terraform. More information is in the README. A small sample `main.tf` file is supplied. --------- Co-authored-by: Brock Walters <153771548+nonpunctual@users.noreply.github.com>
23 lines
459 B
YAML
23 lines
459 B
YAML
provider:
|
|
name: fleetdm_teams
|
|
schema_ref: '#/components/schemas/Team'
|
|
|
|
resources:
|
|
team:
|
|
create:
|
|
path: /api/v1/fleet/teams
|
|
method: POST
|
|
read:
|
|
path: /api/v1/fleet/teams/{id}
|
|
method: GET
|
|
update:
|
|
path: /api/v1/fleet/teams/{id}
|
|
method: PUT
|
|
delete:
|
|
path: /api/v1/fleet/teams/{id}
|
|
method: DELETE
|
|
schema:
|
|
attributes:
|
|
overrides:
|
|
name:
|
|
description: Team name
|