From 0cacc96dc2a182f2cda62a169f282ce9d547562f Mon Sep 17 00:00:00 2001 From: Marcio Goda Date: Wed, 19 Jun 2024 15:19:05 +0100 Subject: [PATCH] fix last change --- main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.tf b/main.tf index 864d3f6..74c5942 100644 --- a/main.tf +++ b/main.tf @@ -29,7 +29,7 @@ locals { ondemand_weight = var.spot_capacity_percentage <= 50 ? local.higher_weight : local.lower_weight use_graviton = try (var.image_build_details["buildx"] == "true" && regexall("arm64", var.image_build_details["platforms"]), false) - capacity_providers = use_graviton ? [ + capacity_providers = local.use_graviton ? [ { capacity_provider = "${var.ecs_cluster}-native-scaling-graviton" weight = local.ondemand_weight