Skip to content

Commit

Permalink
Add force redeployment of SM2A services
Browse files Browse the repository at this point in the history
  • Loading branch information
amarouane-ABDELHAK committed Sep 12, 2024
1 parent 6eeace6 commit cbf3f0e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion infrastructure/ecs_services/airflow_scheduler.tf
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ resource "aws_ecs_service" "airflow_scheduler" {
platform_version = "1.4.0"
scheduling_strategy = "REPLICA"
# Update from requirements
#force_new_deployment = var.force_new_ecs_service_deployment
force_new_deployment = var.force_new_ecs_service_deployment
}


2 changes: 1 addition & 1 deletion infrastructure/ecs_services/airflow_server.tf
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ resource "aws_ecs_service" "airflow_webserver" {
container_port = 8080
}
# Update from services folder
#force_new_deployment = var.force_new_ecs_service_deployment
force_new_deployment = var.force_new_ecs_service_deployment
# This can be used to update tasks to use a newer container image with same
# image/tag combination (e.g., myimage:latest)
}
2 changes: 1 addition & 1 deletion infrastructure/ecs_services/airflow_worker.tf
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ resource "aws_ecs_service" "airflow_worker" {
weight = 1
}
# Update from workers folder
# force_new_deployment = var.force_new_ecs_service_deployment
force_new_deployment = var.force_new_ecs_service_deployment

}

Expand Down

0 comments on commit cbf3f0e

Please sign in to comment.