fleet/terraform/example/README.md
Zachary Winnerman 13a4c65f32
Add addon modules for s3 firehose logging and automatic migrations (#9377)
# Checklist for submitter

If some of the following don't apply, delete the relevant line.

- [ ] Changes file added for user-visible changes in `changes/` or
`orbit/changes/`.
See [Changes
files](https://fleetdm.com/docs/contributing/committing-changes#changes-files)
for more information.
- [ ] Documented any API changes (docs/Using-Fleet/REST-API.md or
docs/Contributing/API-for-contributors.md)
- [ ] Documented any permissions changes
- [ ] Input data is properly validated, `SELECT *` is avoided, SQL
injection is prevented (using placeholders for values in statements)
- [ ] Added support on fleet's osquery simulator `cmd/osquery-perf` for
new osquery data ingestion features.
- [ ] Added/updated tests
- [ ] Manual QA for all new/changed functionality
  - For Orbit and Fleet Desktop changes:
- [ ] Manual QA must be performed in the three main OSs, macOS, Windows
and Linux.
- [ ] Auto-update manual QA, from released version of component to new
version (see [tools/tuf/test](../tools/tuf/test/README.md)).
2023-01-18 11:09:18 -05:00

1.4 KiB

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":

  • terraform apply -target random_pet.main
  • terraform apply -target module.main.module.vpc

Requirements

Name Version
aws ~> 4.0

Providers

Name Version
aws 4.48.0
random 3.4.3

Modules

Name Source Version
acm terraform-aws-modules/acm/aws 4.3.1
firehose-logging ../addons/logging-destination-firehose n/a
main ../ n/a

Resources

Name Type
aws_route53_record.main resource
random_pet.main resource
aws_route53_zone.main data source

Inputs

No inputs.

Outputs

No outputs.