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.
This commit is contained in:
1 parent
7ca524b96d
commit
026c23185c
9 files changed
+50
-24
No files matched your search
+10
-6
@@ -150,8 +150,8 @@ variable "redis_config" {
|
||||
apply_immediately = true
|
||||
automatic_failover_enabled = false
|
||||
engine = "redis"
|
||||
engine_version = "6.x"
|
||||
family = "redis6.x"
|
||||
engine_version = "7.1"
|
||||
family = "redis7"
|
||||
at_rest_encryption_enabled = true
|
||||
transit_encryption_enabled = true
|
||||
parameter = []
|
||||
@@ -259,8 +259,11 @@ variable "ecs_cluster" {
|
||||
|
||||
variable "fleet_config" {
|
||||
type = object({
|
||||
task_mem = optional(number, null)
|
||||
task_cpu = optional(number, null)
|
||||
task_mem = optional(number, null)
|
||||
task_cpu = optional(number, null)
|
||||
ephemeral_storage = optional(object({
|
||||
size_in_gib = number
|
||||
}), null)
|
||||
mem = optional(number, 4096)
|
||||
cpu = optional(number, 512)
|
||||
pid_mode = optional(string, null)
|
||||
@@ -439,8 +442,9 @@ variable "fleet_config" {
|
||||
default = {
|
||||
task_mem = null
|
||||
task_cpu = null
|
||||
mem = 512
|
||||
cpu = 256
|
||||
ephemeral_storage = null
|
||||
mem = 4096
|
||||
cpu = 512
|
||||
pid_mode = null
|
||||
image = "fleetdm/fleet:v4.81.2"
|
||||
family = "fleet"
|
||||
|
||||
Reference in new issue
Block a user