From 096a2ee028e10c35f9a5ff494f93073ae07da77f Mon Sep 17 00:00:00 2001 From: Marcio Goda Date: Wed, 19 Jun 2024 14:22:42 +0100 Subject: [PATCH] change match pattern --- main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.tf b/main.tf index 32db8b9..a136d7c 100644 --- a/main.tf +++ b/main.tf @@ -28,7 +28,7 @@ locals { spot_weight = var.spot_capacity_percentage <= 50 ? local.lower_weight : local.higher_weight ondemand_weight = var.spot_capacity_percentage <= 50 ? local.higher_weight : local.lower_weight - capacity_providers = var.image_build_details["buildx"] == "true" && can(regexall("^arm64", var.image_build_details["platforms"])) ? [ + capacity_providers = var.image_build_details["buildx"] == "true" && can(regexall("arm64", var.image_build_details["platforms"])) ? [ { capacity_provider = "${var.ecs_cluster}-native-scaling-graviton" weight = local.ondemand_weight