Commit Graph
8 Commits
Author SHA1 Message Date
Jorge Falcon af6c5d95de AWS Terraform Example Updates (#175)
Example updates to reference updated modules
- tf-mod-root-v1.20.1
- tf-mod-byo-vpc-v1.22.1
2026-02-10 09:43:50 -05:00
Robert Fairburn 4e6b55b731 Update documentation and examples for latest (#165) 2026-01-16 13:53:05 -06:00
Jorge Falcon 7f6dd3dd38 Terraform example update - tf-mod-addons-migrations-v2.2.0 (#126) 2025-10-27 15:53:49 -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
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
Robert Fairburn f3d1a07df3 Update terraform example mdm to match current documentation (#27) 2025-04-10 12:44:08 -05:00
Robert Fairburn d2ba0fec3f Fix Examples (#11) 2025-02-20 18:20:55 -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