Skip to content

Commit

Permalink
Correct 'platform' to 'platforms'
Browse files Browse the repository at this point in the history
  • Loading branch information
keirbadger committed Apr 4, 2024
1 parent 92c8eef commit c4f4049
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ module "ecs_update_monitor" {
}

locals {
capacity_providers = var.image_build_details["buildx"] == "true" && strcontains(var.image_build_details["platform"], "arm64") ? [
capacity_providers = var.image_build_details["buildx"] == "true" && strcontains(var.image_build_details["platforms"], "arm64") ? [
{
capacity_provider = "${var.ecs_cluster}-native-scaling-graviton"
weight = 1
Expand Down
2 changes: 1 addition & 1 deletion variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,6 @@ variable "image_build_details" {
type = map(string)
default = {
"buildx" = "false",
"platform" = ""
"platforms" = ""
}
}

0 comments on commit c4f4049

Please sign in to comment.