Commit Graph
105 Commits
Author SHA1 Message Date
Jorge Falcon 7f6dd3dd38 Terraform example update - tf-mod-addons-migrations-v2.2.0 (#126) 2025-10-27 15:53:49 -04:00
Jorge Falcon c248d36a33 Updating monitoring module version in monitoring README.md (#127) 2025-10-27 11:17:29 -04:00
Jorge Falcon fc25a6954a Add --max-capacity support to migrate.sh (#117)
- Adds support for `CAPACITY_MAX="${MAX_CAPACITY}"`, if scaling up.
`CAPACITY_MAX = 0`, if scaling down.
- Adds support for `--max-capacity` in the `${ADJUST_AUTOSCALING}` logic
2025-10-24 12:47:04 -04:00
Jorge Falcon 3a48d9a93f Bumping tf k8s example source module reference to 1.2.0 (#125)
- `k8s/example/main.tf` source update from `tf-mod-k8s-v1.1.3` ->
`tf-mod-k8s-v1.2.0`
- Adds new configurations for `carving` and `softwareinstallers`
configuration sections
2025-10-22 16:27:09 -04:00
Jorge Falcon 569b155b6e Terraform updates for Fleet k8s deployment (#123)
* Adds region support for `carving` bucket configuration
* Adds support for `software installers` bucket configuration
2025-10-22 16:05:31 -04:00
George Karr f0ce62bf29 Bumping version for 4.75.1 (#124) 2025-10-21 15:19:29 -05:00
Jorge Falcon 53d2a07140 Cron ignore list to monitoring module (#122)
- Updates monitoring module to use aws sdk v2
- Adds support for suppressing cron monitoring alerts
2025-10-20 13:41:39 -04:00
Luke Heath 415295e3d1 Bump Fleet to v4.75.0 (#121) 2025-10-17 18:32:55 -05:00
Luke Heath e58a969cbb Prepare Fleet v4.74.0 (#118) 2025-10-06 17:22:05 -05:00
Jorge Falcon 8e81115f9b alb http listener rules processing fix (#115)
- Added changes to handle additional conditions `host_headers`,
`path_patterns`, `http_request_methods`, `source_ips`, `http_headers`,
and `query_strings`
2025-10-02 21:52:38 -04:00
Jorge Falcon 411fc58f1d Correcting example/main.tf to fix issues with terraform apply extra_secrets (#116)
* Updated README.md
* Fixed incorrect function on`example/main.tfL107` - `concat()` ->
`merge()`
2025-10-01 22:17:07 -04:00
George Karr 364e3a1327 Bumping version (#114) 2025-10-01 14:50:10 -05:00
Luke Heath 22cf851486 Bump to Fleet v4.73.3 (#110) 2025-09-27 15:19:58 -05:00
Jorge Falcon 4346baaea6 Removed unused data block for redis subnets in byo-vpc (#109)
- Removed unused data block in byo-vpc
- Updated fleet-terraform example
2025-09-24 19:34:07 -04:00
George Karr d7ebda0d08 New version 4.73.2 (#108) 2025-09-23 19:30:10 -04:00
Jorge Falcon ae8863ce64 Support for internal load balancer and deletion protection, iam policy attachment processing, osquery perf fix, and cloudfront software installers (#105)
# Main terraform

- Modified iam `resource "aws_iam_role_policy_attachment" "extras"` from
`for_each` to `count`, which allows terraform to apply even if roles are
not yet created. In cases where role is not yet created, a second
terraform apply is required for the resource to attach the policy.
- Modified iam `resource "aws_iam_role_policy_attachment"
"execution_extras"`, which allows terraform to apply even if roles are
not yet created. In cases where role is not yet created, a second
terraform apply is required for the resource to attach the policy.
- Added support for internal load balancers to be provisioned.
- Added support for toggling deletion protection on and off on the load
balancer resource.

# Example Module

- Updated example module with changes alb changes.

# Module: Cloudfront Software Installers

- Added a count & tertiary to cloudfront software installer kms key
policy, as it's fed in as an input. In cases where the key had not yet
been created, apply would fail.
- Modified `variable "s3_kms_key_id"` to allow default value `null`

# Module: Logging Destination Firehose

- Added prefix variable to support use-cases where multiple environments
are deployed in the same account

# Module: Osquery Perf

- Added dependency on
`data.aws_secretsmanager_secret_version.enroll_secret` to fix race
condition.
2025-09-19 16:16:22 -04:00
George Karr 1d8bd3007d Bumping version for 4.73.1 (#107) 2025-09-12 15:22:16 -05:00
Luke Heath ef8dc55e7c Prepare Fleet v4.73.0 (#106) 2025-09-08 19:57:54 -05:00
Aaron Levy 68947da84e Fixing adherence to GCP instance count variables (#101)
Fixing adherence to GCP instance count variables
2025-09-05 10:32:12 -05:00
Jorge Falcon 3ee9106631 Force destroy support for firehose log destination (#104)
- Added `force_destroy = true` to firehose log destination s3 buckets
2025-09-04 18:46:35 -04:00
Robert Fairburn adac81defa Update example with some additional listner rule options (#103) 2025-09-03 07:15:54 -05:00
Robert Fairburn ca6428a6c2 Update readmes for new alb module (#102) 2025-09-02 11:02:13 -05:00
Robert Fairburn 762f716442 Update to alb module 9.17.0 (#98) 2025-09-02 05:27:22 -05:00
Jorge Falcon a4647fb2d4 Duplicate filter {}'s removal on firehose logging destination (#100)
- Removing duplicate `filter {}` from
`addons/logging-destination-firehose/main.tf`
2025-08-29 17:21:42 -04:00
George Karr 1dc00c3d54 Bumping version for patch release (#99) 2025-08-29 02:33:10 -05:00
Jorge Falcon d4b1804783 Fix regex pattern causing logs to not display (#97)
- Fixed issue where status code `505` logs were not displaying in Athena
2025-08-26 12:36:56 -04:00
Robert Fairburn ecb3910653 Update logging-alb docs (#96) 2025-08-22 08:52:14 -05:00
Robert Fairburn 193f6495da Fix athena table creation when s3 prefix doesn't match bucket prefix (#95) 2025-08-22 08:22:37 -05:00
Robert Fairburn e1527926dc Initial support for bypassing URLs on the allowlist (#94) 2025-08-22 07:34:09 -05:00
Jorge Falcon e9f841e1b2 Updating saml-auth-proxy image to 1.17.3 (#90)
- Updating variables.tf `saml_auth_proxy_image = 1.16.1` ->
`saml_auth_proxy_image = 1.17.3`
2025-08-20 11:14:06 -04:00
Eric Swenson 8161a7b5b6 set region of aws provider and clarify user needs a fqdn and vpc created (#89)
As a novice in terraform I hit a couple of snags trying to run Fleet OSS
in AWS. Want to make it easier for other novices who might want to
deploy Fleet quickly for testing
2025-08-20 10:27:49 -04:00
Robert Fairburn 379e51d0dc Create athena table in logging_alb (#92) 2025-08-19 12:21:18 -05:00
Robert Fairburn 333b53caf5 Remove extra copies of geolite2 module (#91) 2025-08-19 12:14:27 -05:00
Luke Heath 1e0de9e7ea Version bump for Fleet v4.72.0 (#88) 2025-08-13 19:02:27 -05:00
Jorge Falcon def4b33206 AWS Region Terraform deprecation fixes (#87)
- aws_region Terraform attribute `name` has been deprecated in favor of
`region`, introduced in v6 of the hashicorp/aws provider.
- Updated
  - `addons/byo-firehose-logging-destination/target-account/firehose.tf`
  - `addons/external-vuln-scans/main.tf`
  - `addons/logging-alb/main.tf`
  - `addons/logging-destination-datadog/outputs.tf`
  - `addons/mdmproxy/main.tf`
  - `addons/migrations/main.tf`
  - `addons/saml-auth-proxy/main.tf`
  - `addons/xrays-sidecar/outputs.tf`
  - `byo-vpc/byo-db/byo-ecs/main.tf`
  - `byo-vpc/byo-db/byo-ecs/outputs.tf`
2025-08-11 11:49:01 -04:00
Jorge Falcon 0166b67f74 Add custom domain support to SES module (#86)
- Added variable to drive custom mail from configuration
- Added resource for MX record to a specific route 53 zone, if custom
mail value from is enabled
- Add SPF record to local.spf_records list, if custom mail value from is
enabled. Current spf resource takes care of
  - Creating the record if the value is present
- Destroying the record if the value is not present (when disabled or
variable is not set)
2025-08-07 17:13:18 -04:00
Max Ammann 4a7fbf79cc Bump migration module in example (#85)
Adds support for the ARN arguments
2025-08-05 03:43:34 -05:00
George Karr e90c1faf03 update to 4.71.1 (#84) 2025-08-04 15:51:33 -05:00
Robert Fairburn 050609fae8 Fix example in snowflake readme (#83) 2025-08-04 10:44:24 -05:00
Robert Fairburn 6cebbf2cff Initial snowflake module config (#72) 2025-07-31 10:23:24 -05:00
Robert Fairburn 22ce3187c3 Update TLS version used in load balancers (#78)
Updated per
https://docs.aws.amazon.com/elasticloadbalancing/latest/application/describe-ssl-policies.html
2025-07-30 14:37:06 -05:00
Jorge Falcon c0d008bbf4 s3 lifecycle updates (#75)
- Added `filter {}` to resource `aws_s3_bucket_lifecycle_configuration`
block(s)
- Added `filter = []` to `module.s3_bucket_for_logs in
addons/logging-alb/main.tf`
- Added `filter = []` to `module.athena-s3-bucket in
addons/logging-alb/main.tf`

---

Addresses the following warnings.
```
No attribute specified when one (and only one) of [rule[0].filter,rule[0].prefix] is required
```

---

```
╷
│ Warning: Invalid Attribute Combination
│ 
│   with module.logging_alb.module.athena-s3-bucket[0].aws_s3_bucket_lifecycle_configuration.this[0],
│   on .terraform/modules/logging_alb.athena-s3-bucket/main.tf line 219, in resource "aws_s3_bucket_lifecycle_configuration" "this":
│  219: resource "aws_s3_bucket_lifecycle_configuration" "this" {
│ 
│ 2 attributes specified when one (and only one) of [rule[0].expiration[0].date,rule[0].expiration[0].days,rule[0].expiration[0].expired_object_delete_marker] is required
```
2025-07-29 17:19:19 -04:00
Jorge Falcon 7d8311c83c Fixing default value for var.serverlessv2_scaling_configuration (#82)
* Default value when `var.serverlessv2_scaling_configuration` is not
defined modified from `null` -> `{}`
* Example updated to use git tag:`tf-mod-root-v1.16.2`
2025-07-29 15:40:14 -04:00
Jorge Falcon c6a59df7f4 Engine version from 8.0.mysql_aurora.3.07.1 -> 8.0.mysql_aurora.3.08.2 (#80)
- MySQL engine_version bumped from `8.0.mysql_aurora.3.07.1` ->
`8.0.mysql_aurora.3.08.2` in `example/main.tf`
- MySQL engine_version bumped from `8.0.mysql_aurora.3.07.1` ->
`8.0.mysql_aurora.3.08.2` in `variables.tf`
- Root module version in `example/main.tf` bumped to
`tf-mod-root-v1.16.1`
2025-07-28 16:16:05 -04:00
Robert Fairburn 043ad1aa5b Root module serverless v2 (#77) 2025-07-28 12:05:30 -05:00
Madison G 0702c772cf add serverless db capabilities (#76)
Currently, the byo-vpc module doesn't provide a way to use serverless
options from the rds module. This adds 3 new variables for the rds
options, to make serverless installations possible for rds.
2025-07-28 11:57:17 -05:00
Robert Fairburn 81bb303312 Firehose audit (#71) 2025-07-28 11:39:13 -05:00
Luke Heath a10377986f Update Fleet version to 4.71.0 (#73) 2025-07-23 16:05:06 -06:00
Benjamin Edwards e82cec03eb GCP Terraform refactor (#46)
This is an updated version of the previous [GCP
terraform](https://github.com/fleetdm/fleet/tree/main/infrastructure/dogfood/terraform/gcp)
with more options and updated usage of modules and Cloud Run (v1 -> v2)
which means we were able to ditch the manged VPC connectors (extra cost)
and go with the VPC direct access.

I think now that I have cloud run jobs figured out we'll be able to add
a proper migration addon or module.
2025-07-14 13:03:22 -04:00
Robert Fairburn b6b499063a osquery-perf module to accept an enroll secret (#69) 2025-07-10 11:16:43 -05:00