diff --git a/cdk/jenkins_server/jenkins_server.py b/cdk/jenkins_server/jenkins_server.py index f008974..5a17138 100644 --- a/cdk/jenkins_server/jenkins_server.py +++ b/cdk/jenkins_server/jenkins_server.py @@ -179,7 +179,8 @@ def _create_ecs(self): assign_public_ip=True, platform_version=ecs.FargatePlatformVersion.VERSION1_4, cluster=cluster, - desired_count=ecs_config['service']['desired_count'] + desired_count=ecs_config['service']['desired_count'], + circuit_breaker=ecs.DeploymentCircuitBreaker(rollback=True) ) self.file_system.connections.allow_default_port_from(fargate_service)