Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F32126910
D15519.1765023653.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
3 KB
Referenced Files
None
Subscribers
None
D15519.1765023653.diff
View Options
diff --git a/services/terraform/remote/service_backup.tf b/services/terraform/remote/service_backup.tf
--- a/services/terraform/remote/service_backup.tf
+++ b/services/terraform/remote/service_backup.tf
@@ -191,12 +191,12 @@
forward {
target_group {
arn = aws_lb_target_group.backup_service_http.arn
- weight = local.is_staging ? 0 : 100 # Staging: 0% EC2, Prod: 100% EC2
+ weight = 0 # 0% EC2
}
target_group {
arn = aws_lb_target_group.backup_service_http_fargate.arn
- weight = local.is_staging ? 100 : 0 # Staging: 100% Fargate, Prod: 0% Fargate
+ weight = 100 # 100% Fargate
}
stickiness {
diff --git a/services/terraform/remote/service_blob.tf b/services/terraform/remote/service_blob.tf
--- a/services/terraform/remote/service_blob.tf
+++ b/services/terraform/remote/service_blob.tf
@@ -194,12 +194,12 @@
forward {
target_group {
arn = aws_lb_target_group.blob_service_http.arn
- weight = local.is_staging ? 0 : 100 # Staging: 0% EC2, Prod: 100% EC2
+ weight = 0 # 0% EC2
}
target_group {
arn = aws_lb_target_group.blob_service_http_fargate.arn
- weight = local.is_staging ? 100 : 0 # Staging: 100% Fargate, Prod: 0% Fargate
+ weight = 100 # 100% Fargate
}
stickiness {
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
@@ -286,12 +286,12 @@
forward {
target_group {
arn = aws_lb_target_group.identity_service_ws.arn
- weight = local.is_staging ? 0 : 100 # Staging: 0% EC2, Prod: 100% EC2
+ weight = 0 # 0% EC2
}
target_group {
arn = aws_lb_target_group.identity_service_ws_fargate.arn
- weight = local.is_staging ? 100 : 0 # Staging: 100% Fargate, Prod: 0% Fargate
+ weight = 100 # 100% Fargate
}
stickiness {
@@ -321,12 +321,12 @@
forward {
target_group {
arn = aws_lb_target_group.identity_service_grpc.arn
- weight = local.is_staging ? 0 : 100 # Staging: 0% EC2, Prod: 100% EC2
+ weight = 0 # 0% EC2
}
target_group {
arn = aws_lb_target_group.identity_service_grpc_fargate.arn
- weight = local.is_staging ? 100 : 0 # Staging: 100% Fargate, Prod: 0% Fargate
+ weight = 100 # 100% Fargate
}
stickiness {
diff --git a/services/terraform/remote/service_tunnelbroker.tf b/services/terraform/remote/service_tunnelbroker.tf
--- a/services/terraform/remote/service_tunnelbroker.tf
+++ b/services/terraform/remote/service_tunnelbroker.tf
@@ -325,12 +325,12 @@
forward {
target_group {
arn = aws_lb_target_group.tunnelbroker_ws.arn
- weight = local.is_staging ? 0 : 100 # Staging: 0% EC2, Prod: 100% EC2
+ weight = 0 # 0% EC2
}
target_group {
arn = aws_lb_target_group.tunnelbroker_ws_fargate.arn
- weight = local.is_staging ? 100 : 0 # Staging: 100% Fargate, Prod: 0% Fargate
+ weight = 100 # 100% Fargate
}
stickiness {
@@ -359,12 +359,12 @@
forward {
target_group {
arn = aws_lb_target_group.tunnelbroker_grpc.arn
- weight = local.is_staging ? 0 : 100 # Staging: 0% EC2, Prod: 100% EC2
+ weight = 0 # Switch to 0% EC2
}
target_group {
arn = aws_lb_target_group.tunnelbroker_grpc_fargate.arn
- weight = local.is_staging ? 100 : 0 # Staging: 100% Fargate, Prod: 0% Fargate
+ weight = 100 # Switch to 100% Fargate
}
stickiness {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Dec 6, 12:20 PM (15 h, 19 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5837370
Default Alt Text
D15519.1765023653.diff (3 KB)
Attached To
Mode
D15519: [terraform] route Production network to Fargate
Attached
Detach File
Event Timeline
Log In to Comment