Skip to content

Commit

Permalink
remove the capacity provider ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
keirbadger committed Apr 8, 2024
1 parent e64b30b commit ef230f7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@ resource "aws_ecs_service" "service" {
}
}

force_new_deployment = true
lifecycle {
create_before_destroy = true
ignore_changes = [
capacity_provider_strategy,
ordered_placement_strategy,
]
}
Expand Down Expand Up @@ -118,10 +118,10 @@ resource "aws_ecs_service" "service_no_loadbalancer" {
type = lower(var.pack_and_distinct) == "true" ? "distinctInstance" : "memberOf"
expression = lower(var.pack_and_distinct) == "true" ? "" : "agentConnected == true"
}


force_new_deployment = true
lifecycle {
ignore_changes = [
capacity_provider_strategy,
ordered_placement_strategy,
]
}
Expand Down

0 comments on commit ef230f7

Please sign in to comment.