mirror of
https://github.com/fleetdm/fleet
synced 2026-05-24 09:28:54 +00:00
@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.
1.8 KiB
1.8 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 module.fleet.module.vpcterraform apply -target module.fleetterraform 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.