Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3333713
D10102.id.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
D10102.id.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Fri, Nov 22, 5:01 AM (13 h, 58 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2560023
Default Alt Text
D10102.id.diff (1 KB)
Attached To
Mode
D10102: [identity] increase number of tasks and enable stickiness on load balancer
Attached
Detach File
Event Timeline
Log In to Comment