Commit Graph
171 Commits
Author SHA1 Message Date
Robert Fairburn 0cfebf7dc9 Add an extra sanity check to migrations (#207) 2026-04-07 17:33:11 -05:00
Robert Fairburn e2681aea79 Add configurable Fleet private key delivery, optional command override, and caller-managed private key secret ARN support (#205)
## Summary

  This PR extends the Fleet ECS modules to support:

  - configurable Fleet server private key delivery via ecs or iam
  - optional fleet_config.command overrides for Fleet task definitions
- caller-managed Fleet server private key secrets via
fleet_config.private_key_secret_arn

It also updates the external vuln scans addon to follow the same
private-key delivery and command behavior, and refreshes the generated
module documentation.

  ## What changed

- Added fleet_config.private_key_delivery_method with supported values:
- ecs (default): inject the private key as FLEET_SERVER_PRIVATE_KEY
      - iam: inject the secret ARN as FLEET_SERVER_PRIVATE_KEY_ARN
  - Added validation so only ecs or iam are accepted
- Added fleet_config.command support so callers can override the Fleet
container command when needed
- Added fleet_config.private_key_secret_arn support so callers can
supply an existing Secrets Manager secret instead of having this module
create and populate one
- Updated IAM policy wiring so private-key secret access and private-key
KMS decrypt permissions are granted to the correct role based on the
selected delivery method
- Updated module outputs so fleet_server_private_key_secret_arn returns
the effective ARN whether the secret is module-managed or caller-managed
- Updated addons/external-vuln-scans to consume the same private-key
delivery mode and optional command behavior from the passed fleet_config
  - Updated byo-ecs documentation and regenerated README files

  ## Behavior

  ### Private key delivery

- ecs mode injects the secret value into the container and uses the ECS
execution role for private-key secret access
- iam mode injects the secret ARN into the container environment and
uses the Fleet task role for private-key secret access

  ### Command override

- When fleet_config.command is unset, the task definition omits command
- When fleet_config.command is set, the provided command is passed
through to the Fleet container
- This behavior now applies consistently to both the main ECS service
and external vuln scans

  ### Caller-managed private key secret

- When fleet_config.private_key_secret_arn is unset, the module creates
and populates the Fleet private key secret
- When fleet_config.private_key_secret_arn is set, the module uses the
provided secret ARN and does not create the secret, secret version, or
generated random value

  ## KMS note for external secrets

If a caller-managed private-key secret uses a CMK, the caller must also
provide the existing private-key KMS ARN input so the correct role
receives decrypt permissions for the selected delivery mode.

  ## Validation

  Validated successfully with:

  - terraform validate -no-color at repo root
  - terraform validate -no-color in byo-vpc
  - terraform validate -no-color in byo-vpc/byo-db
  - terraform validate -no-color in byo-vpc/byo-db/byo-ecs

Also verified that existing module-managed private-key resources plan as
non-destructive state-address moves when transitioning to the new
counted resources:

  - 0 to add
  - 0 to change
  - 0 to destroy
2026-04-06 19:25:17 -05:00
Robert Fairburn a30a204b44 Update required versions for cloud resources (#204) 2026-04-06 02:11:19 -05:00
Luke Heath d2a65c0a6e Bump Fleet to v4.83.0 (#203) 2026-04-01 11:31:32 -05:00
Robert Fairburn bde5e8a341 KMS-CMK for some lambdas and the mdm secret (#200) 2026-03-26 09:35:12 -05:00
Aaron Levy f9421c10a1 Reducing strictness of GCP provider version pinning (#201)
The GCP Terraform modules currently have strict version pinning for the
GCP Terraform provider, which limits the ability to use newer provider
versions.

This change is in line with the version pinning done for the AWS
provider in the Fleet AWS Terraform module, as well as HashiCorp
documented best practices for provider version pinning in reusable
modules:
https://developer.hashicorp.com/terraform/language/expressions/version-constraints#terraform-core-and-provider-versions
2026-03-26 09:27:28 -05:00
Robert Fairburn 5427830fea Add KMS CMK for carves (#198) 2026-03-24 06:44:00 -05:00
Robert Fairburn e7faee93de Kms cmk root to byo db (#193)
## Highlights

- Upgrades Aurora from `terraform-aws-modules/rds-aurora/aws` `7.6.0` to
`9.16.1`
- Bumps the Terraform minimum version from `>= 1.3.8` to `>= 1.5.0`
- Adds CMK support across newly exposed RDS, Redis, VPC, ECS, and Fleet
surfaces
- Adds additive per-key `extra_kms_policies` support across the root ->
`byo-vpc` -> `byo-db` -> `byo-ecs` path
- Moves software-installers KMS policy ownership out of
`addons/cloudfront-software-installers` and back into `byo-ecs`
- Extends monitoring and ECS integration to work with CMK-encrypted DB
password secrets
- Adds migration tooling and docs for Aurora storage KMS replacement and
CloudWatch Logs KMS cutovers

## Aurora module upgrade: `7.6.0` -> `9.16.1`

This PR keeps a single Aurora module path on upstream `9.16.1` and
updates the Fleet wrapper modules to preserve compatibility where
possible while exposing the new KMS and observability capabilities.

Notable changes handled in the wrapper:

- `security_group_rules`
- upstream moved from older SG rule addressing to the newer
`security_group_rules` model
- added `moved` handling for the confirmed SG rule address rename to
avoid unnecessary destroy/create churn

- `manage_master_user_password`
  - the wrapper continues to own the DB password flow
  - Aurora is kept on `manage_master_user_password = false`
- Secrets Manager integration remains wrapper-managed rather than
switching to upstream-managed password behavior

- `final_snapshot_identifier`
  - wrapper support was added so old behavior is preserved
  - if unset, the legacy generated naming pattern is still used
  - callers can now override it explicitly

- Observability / Database Insights wiring
- cluster-level Performance Insights / Database Insights configuration
was added to match Aurora's current control surface
- monitoring behavior was aligned to cluster-level management for
consistency with the Aurora module and Database Insights requirements

- `backtrack_window`
  - added optional pass-through support for Aurora MySQL backtracking
  - validated as `null` or `0..259200`

## Terraform version bump

This PR raises the Terraform minimum version from `>= 1.3.8` to `>=
1.5.0`.

Reason:
- deprecation warnings for legacy KMS `enabled` flags now use Terraform
`check` blocks
- `check` blocks require Terraform `1.5+`

This was done so published interfaces can remain backward-compatible for
existing `enabled` users while still warning during plan/apply and
preferring `cmk_enabled`.

## KMS surface expansion and pass-through

This PR adds or expands CMK support for:

- Aurora storage
- Aurora password secret
- Aurora observability / Performance Insights
- Aurora exported log groups
- Redis at-rest encryption
- Redis log groups
- VPC flow log CloudWatch log groups
- ECS cluster log groups
- Fleet private-key secret
- Fleet Fargate ephemeral storage
- Fleet application logs
- Fleet software installers

It also adds additive `extra_kms_policies` support across those
module-owned CMK surfaces so callers can append narrowly scoped
statements without replacing the inherited base policy.

During validation of the cron-monitoring integration, I found that the
root module schema was still dropping some nested KMS attributes before
they reached `byo-vpc`. This PR now carries those fields all the way
through to their final destinations, including:

- `rds_config.*.extra_kms_policies`
- `redis_config.*.extra_kms_policies`
- `ecs_cluster.cloudwatch_log_group.kms.extra_kms_policies`
- `fleet_config.private_key_secret_kms.extra_kms_policies`
- `fleet_config.fargate_ephemeral_storage_kms.extra_kms_policies`
- `fleet_config.awslogs.kms.extra_kms_policies`
- `fleet_config.software_installers.extra_kms_policies`
- `fleet_config.software_installers.cloudfront_distribution_arn`
- `vpc.flow_log_cloudwatch_log_group_kms.extra_kms_policies`

## DB password secret KMS handoff to monitoring

`byo-vpc` now exposes:

- `rds_password_secret_kms_key_arn`

The monitoring addon now accepts:

- `cron_monitoring.mysql_password_secret_kms_key_arn`

The monitoring addon also now exposes:

- `cron_monitoring_lambda_arn`
- `cron_monitoring_lambda_role_arn`

This is needed so the cron-monitoring Lambda can decrypt the Fleet DB
password secret when that secret is encrypted with a customer-managed
KMS key.

Expected wiring:

```hcl
module "monitoring" {
  # ...
  cron_monitoring = {
    # ...
    mysql_password_secret_name        = "${local.customer}-database-password"
    mysql_password_secret_kms_key_arn = module.main.byo-vpc.rds_password_secret_kms_key_arn
  }
}
```

## Software installers KMS ownership change

This PR changes the software-installers KMS contract:

- `addons/cloudfront-software-installers` no longer manages the
software-installers KMS key policy
- `byo-ecs` now owns the software-installers CMK policy, including
required service / principal statements
- `fleet_config.software_installers.cloudfront_distribution_arn` is the
static input used to add the CloudFront KMS statement without
introducing a module cycle
- `byo-ecs` also adds the explicit Fleet task-role KMS statement
required under the narrower external key-policy model
- the CloudFront addon exposes `cloudfront_distribution_arn` for
visibility, but that output should not be fed back into `byo-ecs`
because that would create a dependency cycle

Important compatibility note:

- if software installers uses KMS at all, it must use a customer-managed
key
- CloudFront requires a key-policy statement on that key
- the AWS-managed default key cannot be modified to attach that policy

## Other notable items

- Added and expanded migration docs for RDS and Redis KMS adoption
- Added `byo-vpc/scripts/rds_storage_kms_migration.sh` to automate
Aurora storage-KMS migration workflows
- Added `scripts/cloudwatch_logs_kms_migration.sh` to help identify and
optionally remove pre-cutover log streams after associating a new KMS
key with a CloudWatch Logs group
- Normalized `cmk_enabled` usage while preserving deprecated `enabled`
compatibility only for previously published interfaces
- Refactored `addons/logging-alb` KMS policy handling to support
`kms_base_policy` and align it with the structured KMS statement model
used elsewhere
- Reduced repeated KMS policy boilerplate within modules where it was
materially duplicated

## Compatibility notes

- Existing published KMS interfaces that previously used `enabled` still
accept it, but now warn and prefer `cmk_enabled`
- New KMS surfaces are `cmk_enabled`-only
- Software-installers KMS policy ownership moved from
`addons/cloudfront-software-installers` to `byo-ecs`

## Validation

Validated module stacks after the refactors:

- `root`
- `byo-vpc`
- `byo-db`
- `byo-ecs`
- `addons/monitoring`
- `addons/cloudfront-software-installers`
- `addons/logging-alb`
2026-03-20 12:07:38 -05:00
Robert Fairburn b0f06cdbb8 Update codeowneres (#197) 2026-03-19 18:01:00 -05:00
George Karr 17758a0e7d bumping version (#195) 2026-03-19 17:46:47 -05:00
dependabot[bot] a2a4416202 Bump google.golang.org/grpc from 1.77.0 to 1.79.3 in /addons/byo-cloudwatch-log-sharing/pubsub-bridge/lambda (#196)
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from
1.77.0 to 1.79.3.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/grpc/grpc-go/releases">google.golang.org/grpc's
releases</a>.</em></p>
<blockquote>
<h2>Release 1.79.3</h2>
<h1>Security</h1>
<ul>
<li>server: fix an authorization bypass where malformed :path headers
(missing the leading slash) could bypass path-based restricted
&quot;deny&quot; rules in interceptors like <code>grpc/authz</code>. Any
request with a non-canonical path is now immediately rejected with an
<code>Unimplemented</code> error. (<a
href="https://redirect.github.com/grpc/grpc-go/issues/8981">#8981</a>)</li>
</ul>
<h2>Release 1.79.2</h2>
<h1>Bug Fixes</h1>
<ul>
<li>stats: Prevent redundant error logging in health/ORCA producers by
skipping stats/tracing processing when no stats handler is configured.
(<a
href="https://redirect.github.com/grpc/grpc-go/pull/8874">grpc/grpc-go#8874</a>)</li>
</ul>
<h2>Release 1.79.1</h2>
<h1>Bug Fixes</h1>
<ul>
<li>grpc: Remove the <code>-dev</code> suffix from the User-Agent
header. (<a
href="https://redirect.github.com/grpc/grpc-go/pull/8902">grpc/grpc-go#8902</a>)</li>
</ul>
<h2>Release 1.79.0</h2>
<h1>API Changes</h1>
<ul>
<li>mem: Add experimental API <code>SetDefaultBufferPool</code> to
change the default buffer pool. (<a
href="https://redirect.github.com/grpc/grpc-go/issues/8806">#8806</a>)
<ul>
<li>Special Thanks: <a
href="https://github.com/vanja-p"><code>@​vanja-p</code></a></li>
</ul>
</li>
<li>experimental/stats: Update <code>MetricsRecorder</code> to require
embedding the new <code>UnimplementedMetricsRecorder</code> (a no-op
struct) in all implementations for forward compatibility. (<a
href="https://redirect.github.com/grpc/grpc-go/issues/8780">#8780</a>)</li>
</ul>
<h1>Behavior Changes</h1>
<ul>
<li>balancer/weightedtarget: Remove handling of <code>Addresses</code>
and only handle <code>Endpoints</code> in resolver updates. (<a
href="https://redirect.github.com/grpc/grpc-go/issues/8841">#8841</a>)</li>
</ul>
<h1>New Features</h1>
<ul>
<li>experimental/stats: Add support for asynchronous gauge metrics
through the new <code>AsyncMetricReporter</code> and
<code>RegisterAsyncReporter</code> APIs. (<a
href="https://redirect.github.com/grpc/grpc-go/issues/8780">#8780</a>)</li>
<li>pickfirst: Add support for weighted random shuffling of endpoints,
as described in <a
href="https://redirect.github.com/grpc/proposal/pull/535">gRFC A113</a>.
<ul>
<li>This is enabled by default, and can be turned off using the
environment variable
<code>GRPC_EXPERIMENTAL_PF_WEIGHTED_SHUFFLING</code>. (<a
href="https://redirect.github.com/grpc/grpc-go/issues/8864">#8864</a>)</li>
</ul>
</li>
<li>xds: Implement <code>:authority</code> rewriting, as specified in <a
href="https://github.com/grpc/proposal/blob/master/A81-xds-authority-rewriting.md">gRFC
A81</a>. (<a
href="https://redirect.github.com/grpc/grpc-go/issues/8779">#8779</a>)</li>
<li>balancer/randomsubsetting: Implement the
<code>random_subsetting</code> LB policy, as specified in <a
href="https://github.com/grpc/proposal/blob/master/A68-random-subsetting.md">gRFC
A68</a>. (<a
href="https://redirect.github.com/grpc/grpc-go/issues/8650">#8650</a>)
<ul>
<li>Special Thanks: <a
href="https://github.com/marek-szews"><code>@​marek-szews</code></a></li>
</ul>
</li>
</ul>
<h1>Bug Fixes</h1>
<ul>
<li>credentials/tls: Fix a bug where the port was not stripped from the
authority override before validation. (<a
href="https://redirect.github.com/grpc/grpc-go/issues/8726">#8726</a>)
<ul>
<li>Special Thanks: <a
href="https://github.com/Atul1710"><code>@​Atul1710</code></a></li>
</ul>
</li>
<li>xds/priority: Fix a bug causing delayed failover to lower-priority
clusters when a higher-priority cluster is stuck in
<code>CONNECTING</code> state. (<a
href="https://redirect.github.com/grpc/grpc-go/issues/8813">#8813</a>)</li>
<li>health: Fix a bug where health checks failed for clients using
legacy compression options (<code>WithDecompressor</code> or
<code>RPCDecompressor</code>). (<a
href="https://redirect.github.com/grpc/grpc-go/issues/8765">#8765</a>)
<ul>
<li>Special Thanks: <a
href="https://github.com/sanki92"><code>@​sanki92</code></a></li>
</ul>
</li>
<li>transport: Fix an issue where the HTTP/2 server could skip header
size checks when terminating a stream early. (<a
href="https://redirect.github.com/grpc/grpc-go/issues/8769">#8769</a>)
<ul>
<li>Special Thanks: <a
href="https://github.com/joybestourous"><code>@​joybestourous</code></a></li>
</ul>
</li>
<li>server: Propagate status detail headers, if available, when
terminating a stream during request header processing. (<a
href="https://redirect.github.com/grpc/grpc-go/issues/8754">#8754</a>)
<ul>
<li>Special Thanks: <a
href="https://github.com/joybestourous"><code>@​joybestourous</code></a></li>
</ul>
</li>
</ul>
<h1>Performance Improvements</h1>
<ul>
<li>credentials/alts: Optimize read buffer alignment to reduce copies.
(<a
href="https://redirect.github.com/grpc/grpc-go/issues/8791">#8791</a>)</li>
<li>mem: Optimize pooling and creation of <code>buffer</code> objects.
(<a
href="https://redirect.github.com/grpc/grpc-go/issues/8784">#8784</a>)</li>
<li>transport: Reduce slice re-allocations by reserving slice capacity.
(<a
href="https://redirect.github.com/grpc/grpc-go/issues/8797">#8797</a>)</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/grpc/grpc-go/commit/dda86dbd9cecb8b35b58c73d507d81d67761205f"><code>dda86db</code></a>
Change version to 1.79.3 (<a
href="https://redirect.github.com/grpc/grpc-go/issues/8983">#8983</a>)</li>
<li><a
href="https://github.com/grpc/grpc-go/commit/72186f163e75a065c39e6f7df9b6dea07fbdeff5"><code>72186f1</code></a>
grpc: enforce strict path checking for incoming requests on the server
(<a
href="https://redirect.github.com/grpc/grpc-go/issues/8981">#8981</a>)</li>
<li><a
href="https://github.com/grpc/grpc-go/commit/97ca3522b239edf6813e2b1106924e9d55e89d43"><code>97ca352</code></a>
Changing version to 1.79.3-dev (<a
href="https://redirect.github.com/grpc/grpc-go/issues/8954">#8954</a>)</li>
<li><a
href="https://github.com/grpc/grpc-go/commit/8902ab6efea590f5b3861126559eaa26fa9783b2"><code>8902ab6</code></a>
Change the version to release 1.79.2 (<a
href="https://redirect.github.com/grpc/grpc-go/issues/8947">#8947</a>)</li>
<li><a
href="https://github.com/grpc/grpc-go/commit/a9286705aa689bee321ec674323b6896284f3e02"><code>a928670</code></a>
Cherry-pick <a
href="https://redirect.github.com/grpc/grpc-go/issues/8874">#8874</a> to
v1.79.x (<a
href="https://redirect.github.com/grpc/grpc-go/issues/8904">#8904</a>)</li>
<li><a
href="https://github.com/grpc/grpc-go/commit/06df3638c0bcee88197b1033b3ba83e1eb8bc010"><code>06df363</code></a>
Change version to 1.79.2-dev (<a
href="https://redirect.github.com/grpc/grpc-go/issues/8903">#8903</a>)</li>
<li><a
href="https://github.com/grpc/grpc-go/commit/782f2de44f597af18a120527e7682a6670d84289"><code>782f2de</code></a>
Change version to 1.79.1 (<a
href="https://redirect.github.com/grpc/grpc-go/issues/8902">#8902</a>)</li>
<li><a
href="https://github.com/grpc/grpc-go/commit/850eccbb2257bd2de6ac28ee88a7172ab6175629"><code>850eccb</code></a>
Change version to 1.79.1-dev (<a
href="https://redirect.github.com/grpc/grpc-go/issues/8851">#8851</a>)</li>
<li><a
href="https://github.com/grpc/grpc-go/commit/765ff056b6890f6c8341894df4e9668e9bfc18ef"><code>765ff05</code></a>
Change version to 1.79.0 (<a
href="https://redirect.github.com/grpc/grpc-go/issues/8850">#8850</a>)</li>
<li><a
href="https://github.com/grpc/grpc-go/commit/68804be0e78ed0365bb5a576dedc12e2168ed63e"><code>68804be</code></a>
Cherry pick <a
href="https://redirect.github.com/grpc/grpc-go/issues/8864">#8864</a> to
v1.79.x (<a
href="https://redirect.github.com/grpc/grpc-go/issues/8896">#8896</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/grpc/grpc-go/compare/v1.77.0...v1.79.3">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=google.golang.org/grpc&package-manager=go_modules&previous-version=1.77.0&new-version=1.79.3)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the
[Security Alerts
page](https://github.com/fleetdm/fleet-terraform/network/alerts).

</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-19 02:28:32 -05:00
Luke Heath e7427a23d8 Bump Fleet to v4.82.0 (#194) 2026-03-12 10:12:50 -05:00
Robert Fairburn 026c23185c Ephemeral storage support plus var defaults consistency (#192)
Added nullable fleet_config.ephemeral_storage support through the root,
byo-vpc, byo-db, and byo-ecs module chain. The ECS task definition now
only sets ephemeral_storage when configured, and the new input is
documented across the affected module READMEs regenerated with
terraform-docs.

Also normalized Redis defaults in the root and byo-vpc modules so
partial redis_config input consistently resolves to Redis 7.1 / redis7,
matching the schema defaults and avoiding accidental version drift for
existing users.
2026-03-11 08:14:22 -05:00
Robert Fairburn 7ca524b96d Update module version in doc for byo-ecs (#191) 2026-03-10 10:47:39 -05:00
Robert Fairburn 8b8e283d91 Additional KMS CMK for ecs and byo-ecs scoped object. (#187) 2026-03-10 10:36:26 -05:00
Jorge Falcon 89595f5095 Updates to cloudfront readme for optional:key_group_id and optional:public_key_id (#190)
* Add in-line notes to README for `key_group_id` and `public_key_id`
usage.
2026-03-10 09:09:28 -04:00
Jorge Falcon 4ce91146b4 Fix FLEET_S3_SOFTWARE_INSTALLERS_CLOUDFRONT_URL_SIGNING_PUBLIC_KEY_ID value and use regional s3 bucket endpoint (#189)
- Fixes
`FLEET_S3_SOFTWARE_INSTALLERS_CLOUDFRONT_URL_SIGNING_PUBLIC_KEY_ID`
where the value is currently set to `var.key_group_id` instead of the
required `public_key_id`.
- Updates the cloudfront s3 origin to use the the regional s3 bucket
endpoint over the legacy global s3 bucket endpoint.
- Added variable validations to detect when `key_group_id` is added
without `public_key_id`, vice versa.
2026-03-09 17:15:08 -04:00
George Karr db1dae4b0a Bumping version (#188) 2026-03-06 20:01:20 -06:00
Robert Fairburn d5da95f5a9 Improvements to KMS encryption stance on ALB logs (#185) 2026-03-06 08:14:15 -06:00
George Karr 7c957c4656 Bumping version (#186) 2026-03-05 16:23:52 -06:00
Robert Fairburn a62e432d2f Allow Fleet ECS target-group protocol to be configured for https support (#184) 2026-03-02 11:51:59 -06:00
Jorge Falcon 2877050841 Module: Monitoring - readme updates (#183) 2026-02-24 10:19:04 -05:00
Jorge Falcon e7a026671d Add TLSConfig support to monitoring module (#182)
- Allows MySQL TLS Config to be set to connect to MySQL over TLS.
Default: `true`
2026-02-23 15:00:44 -05:00
Luke Heath bf8b38c19e Bump Fleet to v4.81.0 (#181) 2026-02-20 17:32:12 -06:00
Robert Fairburn 0512d6da11 Initial cross-account log sharing module (#176) 2026-02-18 07:30:11 -06:00
Robert Fairburn 2c4933346d Bump docker provider for geolite2 (#178) 2026-02-12 14:49:41 -06:00
George Karr bb63adea10 Bumping version (#177) 2026-02-12 13:57:08 -06:00
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
Jorge Falcon f38317b307 Set default alb.enable_edition_protection to disabled (#173)
- Update `alb.enable_deletion_protection` to `false` in:
  - `byo-vpc/byo-db/variables.tf`
  - `byo-vpc/variables.tf`
  - `variables.tf`
2026-02-05 13:30:45 -05:00
Luke Heath cd62508ff5 Bump Fleet to v4.80.0 (#174) 2026-02-03 16:07:46 -06:00
Aaron LevyandJorge Falcon 6bb6f3e736 Making use of H2C configurable for GCP Cloud Run (#162)
See https://github.com/fleetdm/fleet/issues/37352

Whether or not H2C vs. HTTP v1 is used for GCP Cloud Run deployments
needs to be configurable.

---------

Co-authored-by: Jorge Falcon <22119513+BCTBB@users.noreply.github.com>
2026-01-26 16:18:29 -05:00
George Karr 75854ad3f0 update version (#169) 2026-01-20 06:53:07 -05:00
Jorge Falcon d9c86aec2a Update k8s documentation and example for 4.79.0 (#167) 2026-01-16 17:06:31 -05:00
Jorge Falcon 3d0e51177e Bump image_tag for k8s terraform to 4.79.0 (#166) 2026-01-16 15:39:27 -05:00
Steven PalmesanoandJorge Falcon 382bde0d91 Add example for disabling the /version page for security hardening (#159)
Per @BCTBB's testing done here:
https://fleetdm.slack.com/archives/C051QJU3D0V/p1767198630645379?thread_ts=1767193373.532409&cid=C051QJU3D0V

---------

Co-authored-by: Jorge Falcon <22119513+BCTBB@users.noreply.github.com>
2026-01-16 15:20:13 -05:00
Robert Fairburn 4e6b55b731 Update documentation and examples for latest (#165) 2026-01-16 13:53:05 -06:00
Luke Heath 974ece5934 Bump Fleet to 4.79.0 (#164) 2026-01-14 16:10:20 -06:00
George Karr 7925843515 Bumping patch (#163) 2026-01-13 13:56:14 -06:00
Robert Fairburn 8c61c6fa6e Okta condiitonal access subdomain (#154) 2026-01-12 09:50:33 -06:00
George Karr c0eb02555e Bumping patch version (#161) 2026-01-10 22:01:49 -06:00
Michal HrubyandRobert Fairburn 07fdf37d4b Add Valkey support for ElastiCache (#158)
## Summary

This PR adds support for AWS ElastiCache Valkey as an alternative to
Redis, addressing #44.

## Changes

- **Upgrade cloudposse module**: Updated
`cloudposse/elasticache-redis/aws` from v0.53.0 to >= 1.9.1
- **Add engine parameter**: New `engine` field in `redis_config`
supports both `redis` (default) and `valkey`
- **AWS provider constraint**: Added requirement for AWS provider >=
5.73.0 in `byo-vpc/versions.tf`
- **Documentation**: Added Valkey configuration examples to README

## Valkey Benefits

Valkey is an open-source, Redis-compatible in-memory data store. AWS
recommends using Valkey for cost savings.

## Usage

To use Valkey instead of Redis:

```hcl
redis_config = {
  engine         = "valkey"
  engine_version = "7.2"
  family         = "valkey7"
}
```

## Backwards Compatibility

- Default engine remains `redis` - existing deployments continue to work
unchanged
- Users can opt-in to Valkey by setting `engine = "valkey"

Note that this was mostly AI-generated.

Closes #44

---------

Co-authored-by: Robert Fairburn <8029478+rfairburn@users.noreply.github.com>
2026-01-09 02:49:14 -06:00
George Karr e7408fb07a New update 4.78.1 (#160) 2026-01-06 16:55:07 -06:00
Matt Allen f3088e257a Add support for assigning public IP in ECS service (#157)
fixes #156
2026-01-05 06:35:51 -06:00
Luke Heath 7569dc709b Bump Fleet to v4.78.0 (#155) 2025-12-19 17:25:09 -06:00
Jorge Falcon f4aa0416ac Update example in addons/monitoring/README.md (#153)
Closes: https://github.com/fleetdm/fleet-terraform/issues/149 

- Updates `mysql_password_secret_name` for documented monitoring example
in `addons/monitoring/.header.md` & `addons/monitoring/README.md` to
address `inconsistent final plan`
2025-12-16 11:37:27 -05:00
Robert Fairburn 56f96d216f Update examples for new tags (#152) 2025-12-11 09:05:32 -06:00
Robert Fairburn 5f47abbe01 support point-in-time recovery on RDS (#151) 2025-12-10 04:59:27 -06:00
Robert Fairburn ca8373b5f9 Initial firehost-splunk module (#150) 2025-12-05 11:03:23 -06:00
Luke Heath 9971d6cdab Bump Fleet to 4.77.0 (#147) 2025-12-05 11:03:06 -06:00
Jorge Falcon 132e9b91d4 Example and logging-destination README updates (#148) 2025-12-03 16:22:38 -05:00