Page MenuHomePhabricator

D10102.id34196.diff
No OneTemporary

D10102.id34196.diff

diff --git a/services/terraform/remote/service_identity.tf b/services/terraform/remote/service_identity.tf
--- a/services/terraform/remote/service_identity.tf
+++ b/services/terraform/remote/service_identity.tf
@@ -1,5 +1,5 @@
locals {
- identity_service_image_tag = "0.3"
+ identity_service_image_tag = "0.5"
identity_service_server_image = "commapp/identity-server:${local.identity_service_image_tag}"
identity_service_container_name = "identity-server"
@@ -89,10 +89,7 @@
task_definition = aws_ecs_task_definition.identity_service.arn
force_new_deployment = true
- desired_count = 1
- lifecycle {
- ignore_changes = [desired_count]
- }
+ desired_count = 2
# Expose Identity service to other services in the cluster
service_connect_configuration {
@@ -158,6 +155,12 @@
# The "bridge" network mode requires target type set to instance
target_type = "instance"
+ stickiness {
+ type = "lb_cookie"
+ cookie_duration = 10 # Duration in seconds
+ enabled = true
+ }
+
health_check {
enabled = true
healthy_threshold = 2

File Metadata

Mime Type
text/plain
Expires
Fri, Nov 22, 5:02 AM (14 h, 27 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2560023
Default Alt Text
D10102.id34196.diff (1 KB)

Event Timeline