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.
- 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.
## 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>
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`
- Pins nested module, `module.cloudfront_software_installers`, to
`5.2.0`
- Adds support for `var.key_group_id` to use an existing Cloudfront Key
Group