litellm/litellm-rust/loadtest/terraform/aws/outputs.tf
Nate Armstrong d93353bcb6
feat(gateway): load-test kit, Docker build knobs and TCP_NODELAY for the customer proxy (#46806)
Adds litellm-rust/loadtest: a mock LLM (OpenAI chat, Anthropic messages, Bedrock invoke with
event-stream framing) that takes its timing from the prompt, an open-loop load generator with
workloads covering 10k to 1M token contexts, 6 minute non-streaming calls and 30 minute streams,
a config and virtual key generator, a summarizer and a /proc sampler, plus Terraform for an AWS
rig with load generators, gateway and mocks on separate machines

The gateway sets TCP_NODELAY on accepted sockets, removing a ~40 ms stall per streamed response,
and its Docker build takes LTO and CODEGEN_UNITS build args for faster iteration builds
2026-10-16 12:42:59 -07:00

38 lines
865 B
HCL

output "target" {
description = "URL the load generators send to."
value = var.gateway_count > 1 ? "http://${aws_lb.gateway[0].dns_name}:4000" : "http://${aws_instance.gateway[0].private_ip}:4000"
}
output "gateway_public_ips" {
value = aws_instance.gateway[*].public_ip
}
output "mock_public_ips" {
value = aws_instance.mock[*].public_ip
}
output "mock_private_ips" {
value = aws_instance.mock[*].private_ip
}
output "loadgen_public_ips" {
value = aws_instance.loadgen[*].public_ip
}
output "tools_image" {
value = local.tools_image
}
output "gateway_image" {
value = local.gateway_image
}
output "ecr_registry" {
description = "Pass as REGISTRY to scripts/build-images.sh (append the repo prefix shown in the image outputs)."
value = local.registry
}
output "master_key" {
value = var.master_key
sensitive = true
}