Page MenuHomePhabricator

D10102.id34059.diff
No OneTemporary

D10102.id34059.diff

diff --git a/services/identity/Dockerfile b/services/identity/Dockerfile
--- a/services/identity/Dockerfile
+++ b/services/identity/Dockerfile
@@ -1,4 +1,4 @@
-FROM rust:1.67 as builder
+FROM rust:1.70-bullseye as builder
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \
build-essential cmake git libgtest-dev libssl-dev zlib1g-dev \
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-staging"
identity_service_server_image = "commapp/identity-server:${local.identity_service_image_tag}"
identity_service_container_name = "identity-server"
@@ -89,7 +89,7 @@
task_definition = aws_ecs_task_definition.identity_service.arn
force_new_deployment = true
- desired_count = 1
+ desired_count = 2
lifecycle {
ignore_changes = [desired_count]
}
@@ -158,6 +158,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 (19 h, 49 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2560031
Default Alt Text
D10102.id34059.diff (1 KB)

Event Timeline