docs(terraform): publish AWS ECS Fargate and GCP Cloud Run deployment guides (LIT-3173)#212
Draft
yassin-berriai wants to merge 2 commits into
Draft
docs(terraform): publish AWS ECS Fargate and GCP Cloud Run deployment guides (LIT-3173)#212yassin-berriai wants to merge 2 commits into
yassin-berriai wants to merge 2 commits into
Conversation
…des (LIT-3173) Publish documentation for the official LiteLLM Terraform stacks in terraform/litellm/aws/ and terraform/litellm/gcp/. - Add docs/proxy/deploy_terraform_aws.md — ECS Fargate quickstart, IAM auth, autoscaling, multi-tenant naming, secrets, and variable reference - Add docs/proxy/deploy_terraform_gcp.md — Cloud Run quickstart, Artifact Registry image setup, TLS, managed cert, Redis TLS, multi-tenant naming, and variable reference - Update docs/proxy/deploy.md Terraform section to link both new guides and modernise the AWS ECS paragraph (was pointing at a legacy tutorial repo) - Update sidebars.js to surface both pages under Setup & Deployment → Terraform Resolves LIT-3173 https://claude.ai/code/session_01N6myMC1QzDj2NtpqfACDPn
…utputs - GCP: gateway_url/backend_url/ui_url → gateway_service_url/backend_service_url/ui_service_url - GCP: remove non-existent ssl_certificate_name output; use jq introspection - GCP: add missing db_password_secret_id, gcs_bucket, redis_endpoint outputs - AWS: remove non-existent alb_arn; add alb_dns_name, aurora_writer/reader_endpoint, s3_bucket, redis_endpoint, db_master_password_secret_arn outputs https://claude.ai/code/session_01N6myMC1QzDj2NtpqfACDPn
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Publishes documentation for the official LiteLLM Terraform stacks that deploy the componentized proxy (gateway + backend + UI) on AWS ECS Fargate and GCP Cloud Run. The Terraform code already lives in
terraform/litellm/aws/andterraform/litellm/gcp/in the main repo; this PR makes them discoverable through the docs site.docs/proxy/deploy_terraform_aws.md— Full AWS quickstart: ECS Fargate, Aurora Postgres (IAM auth), ElastiCache Redis (HA, TLS), S3, Application Load Balancer. Covers proxy_config, extra env/secrets, autoscaling, multi-tenant naming, TLS, data retention tripwires, and the full variable/output reference.docs/proxy/deploy_terraform_gcp.md— Full GCP quickstart: Cloud Run v2, Cloud SQL (writer + read replica, password auth), Memorystore Redis (TLS), GCS, External HTTPS Load Balancer. Covers Artifact Registry image setup (required since Cloud Run rejects ghcr.io), TLS + managed cert, multi-tenant naming, and the full variable/output reference.docs/proxy/deploy.md— Terraform section updated to link both new guides; AWS ECS paragraph modernised (was pointing at a legacy third-party tutorial repo).sidebars.js— New "Terraform" category under Setup & Deployment linking both pages.Resolves LIT-3173
Behavioral test matrix
terraform applywithallow_plaintext_alb = true(AWS)variables.tfprecondition + READMEterraform applywithacm_certificate_arnset (AWS)alb.tfconditional listenerterraform applywithallow_plaintext_lb = true(GCP)load_balancer.tfpreconditionterraform applywithlb_domainsset (GCP)load_balancer.tfconditional cert resourceterraform applywithlitellm_master_key = ""sk-…key stored in Secrets Manager / Secret Managersecrets.tfrandom_passwordterraform applywithlitellm_license = ""secrets.tfcount = 0 pathterraform destroywithskip_final_snapshot = false(AWS)rds.tffinal_snapshot_identifierterraform destroywiths3_force_destroy = false(AWS)s3.tfforce_destroy = falseterraform destroywithcloudsql_deletion_protection = true(GCP)cloudsql.tfdeletion_protection = trueterraform destroywithgcs_force_destroy = false(GCP)gcs.tfforce_destroy = false/v1/chat/completions)locals.tfgateway path prefixes/)alb.tf/load_balancer.tfUI rules/key/generate)bootstrap.tfone-shot Fargate task createslitellm_appuser withrds_iambootstrap.tflocal-exec +outputs.tfdb_bootstrap_sqlprisma migrate deploybefore services startmigrations.tf/ Cloud Run Jobdepends_oninbootstrap.tfgateway_extra_secrets(AWS)GetSecretValueon each ARN; secret injected as env variam.tfpolicy attachmentgateway_extra_secrets(GCP)roles/secretmanager.secretAccessoron each secretiam.tfIAM bindingghcr.io(GCP)variables.tfdefault notetenant+envcombination uniquenesslocals.tflocal.nameTest plan
outputs.tfexactly (cross-checked manually ✓)variables.tfexactly (cross-checked manually ✓)deploy.mdresolve to new pageshttps://claude.ai/code/session_01N6myMC1QzDj2NtpqfACDPn
Generated by Claude Code