fleet/terraform/addons/migrations
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
..
.header.md Add addon modules for s3 firehose logging and automatic migrations (#9377) 2023-01-18 11:09:18 -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 Add addon modules for s3 firehose logging and automatic migrations (#9377) 2023-01-18 11:09:18 -05:00
migrate.sh Add addon modules for s3 firehose logging and automatic migrations (#9377) 2023-01-18 11:09:18 -05:00
outputs.tf Add addon modules for s3 firehose logging and automatic migrations (#9377) 2023-01-18 11:09:18 -05:00
README.md Add addon modules for s3 firehose logging and automatic migrations (#9377) 2023-01-18 11:09:18 -05:00
variables.tf Add addon modules for s3 firehose logging and automatic migrations (#9377) 2023-01-18 11:09:18 -05:00

Migrations addon

This addon enables automatic migrations for Fleet. Due to limitations in the AWS provider for Terraform, only Linux platforms are supported. This module uses the local-exec provisioner to call aws-cli to complete migrations. Due to this, the following commands must be available to the shell:

  • aws

Requirements

No requirements.

Providers

Name Version
aws 4.49.0
null 3.2.1

Modules

No modules.

Resources

Name Type
null_resource.main resource
aws_region.current data source

Inputs

Name Description Type Default Required
ecs_cluster n/a string n/a yes
security_groups n/a list(string) n/a yes
subnets n/a list(string) n/a yes
task_definition n/a string n/a yes
task_definition_revision n/a number n/a yes

Outputs

No outputs.