fleet/terraform/example
Benjamin Edwards 98da852c94
update example to be barebones working example (#17355)
@pacamaster and I reviewed the example directory and found that the
example terraform was a bit bloated. This streamlines the example to be
a bare-bones minimum to get started.
2024-03-04 16:39:57 -05:00
..
.header.md update example to be barebones working example (#17355) 2024-03-04 16:39:57 -05:00
.terraform-docs.yml Add addon modules for s3 firehose logging and automatic migrations (#9377) 2023-01-18 11:09:18 -05:00
main.tf update example to be barebones working example (#17355) 2024-03-04 16:39:57 -05:00
README.md update example to be barebones working example (#17355) 2024-03-04 16:39:57 -05:00

Fleet Terraform Module Example

This code provides some example usage of the Fleet Terraform module, including how some addons can be used to extend functionality.

Due to Terraform issues, this code requires 3 applies "from scratch":

  1. terraform apply -target module.fleet.module.vpc
  2. terraform apply -target module.fleet
  3. terraform apply

Requirements

Name Version
aws 5.36.0

Providers

Name Version
aws 5.36.0

Modules

Name Source Version
acm terraform-aws-modules/acm/aws 4.3.1
fleet github.com/fleetdm/fleet//terraform tf-mod-root-v1.7.1
migrations github.com/fleetdm/fleet//terraform/addons/migrations tf-mod-addon-migrations-v2.0.0

Resources

Name Type
aws_route53_record.main resource
aws_route53_zone.main resource

Inputs

Name Description Type Default Required
domain_name domain name to host fleet under string n/a yes
vpc_name name of the vpc to provision string "fleet" no
zone_name the name to give to your hosted zone string "fleet" no

Outputs

No outputs.