Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3526839
D12709.id42189.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.id42189.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
@@ -126,14 +126,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 = [data.aws_subnets.default.ids[0], data.aws_subnets.default.ids[1]]
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Dec 25, 1:47 AM (3 h, 7 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2701331
Default Alt Text
D12709.id42189.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