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