-
-
Notifications
You must be signed in to change notification settings - Fork 630
Description
As noted in https://github.com/terraform-aws-modules/terraform-aws-ecs/tree/master/docs#service-1 and changed by #81, calling the module with ignore_task_definition_changes for a service also ignores change related to the load_balancer attribute. The goal was to support blue/green deployment via CodePipeline.
I would like to support deployment via a simple service update. I use GitHub Actions with https://github.com/aws-actions/amazon-ecs-deploy-task-definition and manage the load balancer and service resources via Terraform.
In the description, it was considered to create an ignore_task_definition_changes variable as well as ignore_load_balancer_changes. In #81 (comment), it was dropped to keep things simple. To support my use case, I think the 4 cases (ignore 0, ignore lb, ignore task def, ignore both) should be implemented.
Happy to submit a PR if maintainers would like this done.