From 7f6dd3dd388bb0ade934faf0cfc153ecb72be442 Mon Sep 17 00:00:00 2001
From: Jorge Falcon <22119513+BCTBB@users.noreply.github.com>
Date: Mon, 27 Oct 2025 15:53:49 -0400
Subject: [PATCH] Terraform example update - tf-mod-addons-migrations-v2.2.0
(#126)
---
example/README.md | 4 ++--
example/main.tf | 5 +++--
2 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/example/README.md b/example/README.md
index 499ba61..e23f8ec 100644
--- a/example/README.md
+++ b/example/README.md
@@ -33,9 +33,9 @@ If using a new route53 zone:
| Name | Source | Version |
|------|--------|---------|
| [acm](#module\_acm) | terraform-aws-modules/acm/aws | 4.3.1 |
-| [fleet](#module\_fleet) | github.com/fleetdm/fleet-terraform?depth=1&ref=tf-mod-root-v1.18.2 | n/a |
+| [fleet](#module\_fleet) | github.com/fleetdm/fleet-terraform?depth=1&ref=tf-mod-root-v1.18.3 | n/a |
| [mdm](#module\_mdm) | github.com/fleetdm/fleet-terraform/addons/mdm?depth=1&ref=tf-mod-addon-mdm-v2.0.0 | n/a |
-| [migrations](#module\_migrations) | github.com/fleetdm/fleet-terraform/addons/migrations?depth=1&ref=tf-mod-addon-migrations-v2.1.0 | n/a |
+| [migrations](#module\_migrations) | github.com/fleetdm/fleet-terraform/addons/migrations?depth=1&ref=tf-mod-addon-migrations-v2.2.0 | n/a |
## Resources
diff --git a/example/main.tf b/example/main.tf
index c058ebb..fb90775 100644
--- a/example/main.tf
+++ b/example/main.tf
@@ -256,7 +256,7 @@ module "fleet" {
# doesn't directly support all the features required. the aws cli is invoked via a null-resource.
module "migrations" {
- source = "github.com/fleetdm/fleet-terraform/addons/migrations?depth=1&ref=tf-mod-addon-migrations-v2.1.0"
+ source = "github.com/fleetdm/fleet-terraform/addons/migrations?depth=1&ref=tf-mod-addon-migrations-v2.2.0"
ecs_cluster = module.fleet.byo-vpc.byo-db.byo-ecs.service.cluster
task_definition = module.fleet.byo-vpc.byo-db.byo-ecs.task_definition.family
task_definition_revision = module.fleet.byo-vpc.byo-db.byo-ecs.task_definition.revision
@@ -265,7 +265,8 @@ module "migrations" {
ecs_service = module.fleet.byo-vpc.byo-db.byo-ecs.service.name
desired_count = module.fleet.byo-vpc.byo-db.byo-ecs.appautoscaling_target.min_capacity
min_capacity = module.fleet.byo-vpc.byo-db.byo-ecs.appautoscaling_target.min_capacity
-
+ max_capacity = module.fleet.byo-vpc.byo-db.byo-ecs.appautoscaling_target.max_capacity
+
depends_on = [
module.fleet,
]