Skip to content

Commit

Permalink
Adding ecs service ignore (#10)
Browse files Browse the repository at this point in the history
* adding lifecycle event to ignore task def, desired count, and load balancer changes

* Revert "adding lifecycle event to ignore task def, desired count, and load balancer changes"

This reverts commit 683eccc.

* asking terraform to ignore changes to load balancer when blue/green deploys happen
  • Loading branch information
Mhart12 authored Mar 20, 2024
1 parent b9103e7 commit 7c40591
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 @@ -454,7 +454,7 @@ resource "aws_ecs_service" "ignore_changes_task_definition" {
triggers = local.redeployment_trigger

lifecycle {
ignore_changes = [task_definition]
ignore_changes = [task_definition, load_balancer]
}

# Avoid race condition on destroy.
Expand Down

0 comments on commit 7c40591

Please sign in to comment.