fleet/tools/terraform/generator.yaml
Mike Yoder c7ea0125d6
Support for Terraforming Fleet Teams (#18750)
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>
2024-06-20 12:47:35 -07:00

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