Skip to content

Commit

Permalink
fix last change
Browse files Browse the repository at this point in the history
  • Loading branch information
marciogoda committed Jun 19, 2024
1 parent 7455a69 commit 0cacc96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0cacc96

Please sign in to comment.