Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3349912
D12709.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D12709.diff
View Options
diff --git a/services/terraform/self-host/keyserver_primary.tf b/services/terraform/self-host/keyserver_primary.tf
--- a/services/terraform/self-host/keyserver_primary.tf
+++ b/services/terraform/self-host/keyserver_primary.tf
@@ -122,14 +122,17 @@
resource "aws_ecs_service" "keyserver_primary_service" {
depends_on = [null_resource.create_comm_database]
- name = "keyserver-primary-service"
- cluster = aws_ecs_cluster.keyserver_cluster.id
- task_definition = aws_ecs_task_definition.keyserver_service.arn
- launch_type = "FARGATE"
- enable_execute_command = true
- enable_ecs_managed_tags = true
- force_new_deployment = true
- desired_count = 1
+ name = "keyserver-primary-service"
+ cluster = aws_ecs_cluster.keyserver_cluster.id
+ task_definition = aws_ecs_task_definition.keyserver_service.arn
+ launch_type = "FARGATE"
+ enable_execute_command = true
+ enable_ecs_managed_tags = true
+ force_new_deployment = true
+ desired_count = 1
+ deployment_maximum_percent = 100
+ deployment_minimum_healthy_percent = 0
+
network_configuration {
subnets = local.vpc_subnets
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 23, 7:45 PM (16 h, 21 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2572253
Default Alt Text
D12709.diff (1 KB)
Attached To
Mode
D12709: [terraform] Ensure only one running ecs task for primary service
Attached
Detach File
Event Timeline
Log In to Comment