Commit Graph
40 Commits
Author SHA1 Message Date
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
Robert Fairburn adac81defa Update example with some additional listner rule options (#103) 2025-09-03 07:15:54 -05:00
George Karr 1dc00c3d54 Bumping version for patch release (#99) 2025-08-29 02:33:10 -05: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
Luke Heath 1e0de9e7ea Version bump for Fleet v4.72.0 (#88) 2025-08-13 19:02:27 -05: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
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
Luke Heath a10377986f Update Fleet version to 4.71.0 (#73) 2025-07-23 16:05:06 -06:00
George Karr ba0007c841 Updating version (#70) 2025-07-09 17:00:05 -05:00
George Karr 6fdce2f1c8 Updating default versions (#64) 2025-06-30 16:29:29 -05:00
Luke Heath 365b051365 Bump Fleet version to v4.69.0 (#56) 2025-06-14 14:55:11 -05:00
Jorge Falcon 770afe9cd3 Adding force destroy = true to software installers bucket resource block (#52)
Adding `force_destroy = true` to allow for the removal of software
installers bucket when terraform attempts to destroy the s3 bucket.
2025-05-27 15:06:55 -04:00
Luke Heath a73a4f5553 Prepare Fleet v4.68.0 (#50) 2025-05-22 12:54:15 -05:00
Jorge Falcon b2d3dcd074 Updating terraform module versions in examples (#49)
Updating terraform module versions in example/main.tf and byo-vpc/exa…
2025-05-22 10:53:35 -04:00
Robert Fairburn 62d232b330 Update examples to use latest module versions (#41) 2025-05-12 10:36:46 -05:00
Luke Heath 4bf3151146 Prepare Fleet v4.67.3 (#38) 2025-05-06 15:29:24 -05:00
Luke Heath dc10db7770 Bump Fleet to v4.67.2 (#35) 2025-04-28 13:24:00 -05:00
Luke Heath 53df880d0a Bump Fleet to 4.67.1 (#34) 2025-04-26 10:24:57 -05:00
Luke Heath 4b95c466db Update to Fleet v4.67.0 (#33) 2025-04-24 16:11:13 -05:00
Robert Fairburn f3d1a07df3 Update terraform example mdm to match current documentation (#27) 2025-04-10 12:44:08 -05:00
Luke Heath 43ab1d4f43 Bump Fleet version to v4.66.0 (#22) 2025-04-04 16:19:24 -05:00
Robert Fairburn 7e61bfc4be tfvalidate per file change on PR and fmt example (#21) 2025-04-01 09:51:43 -05:00
Robert Fairburn 57286bad2d Update module for preferred simpler defaults (#15) 2025-03-17 10:09:18 -05:00
Luke Heath 4d7be48ecf Increment Fleet version to 4.65.0 (#17) 2025-03-14 15:42:36 -05:00
ben 76e55e6a51 Upgrade to latest fleet:v4.64.2 (#16)
Upgrade to latest `fleet:v4.64.2` which fixes `CVE-2025-27509`

cf.
https://github.com/fleetdm/fleet/security/advisories/GHSA-52jx-g6m5-h735
2025-03-14 13:11:43 -05:00
ben 1532cb5e55 Added Shallow cloning (#12)
Hi @rfairburn 

FWIW: proposing to add shallow clone 😃 

Sidequestion: on our side we use Clouflare vs. Route53. Would you be
interested in adding that as documented option in the example/ ? If so,
I could make a PR with that.

Thanks!
2025-03-11 02:53:22 -05:00
Robert Fairburn d2ba0fec3f Fix Examples (#11) 2025-02-20 18:20:55 -06:00
George Karr 6ff853ed7b Bumping latest version to 4.64.1 (#9) 2025-02-20 18:19:44 -06:00
Robert Fairburn e6fadb737a Update versions to be latest and work with this repo (#3) 2025-02-09 21:23:16 -06:00
Robert Fairburn f378f62db2 Initial migration (#1)
This will be needed to make the initial tags. Once merged to main, I
will tag with the same module revisions as what exists in the Fleet
repo. We can then test the example module using the new settings.

Once validated, we'll then update the main fleet repo to redirect here
for /terraform and remove everything there. Anything referring to old
tags will still work in-place. Additionally any website references will
be updated as well to reflect these changes.
2025-02-04 10:07:51 -06:00