docs(postgres): create-db picks closest region by default, us-east-1 is the fallback#8082
Merged
Conversation
…is the fallback create-db v1.2.1 geolocates the caller and provisions in the closest available region when --region is omitted; us-east-1 is only used when geolocation fails. Update the stale default-region claim on the npx-create-db page accordingly.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
WalkthroughChangesCreate-db region documentation
Estimated code review effort: 1 (Trivial) | ~2 minutes 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
Comment |
Contributor
🍈 Lychee Link Check Report9 links: ✅ All links are working!Full Statistics Table
|
|
The latest updates on your projects. Learn more about Argos notifications ↗︎
|
Member
Author
|
@coderabbitai approve |
Contributor
✅ Action performedComments resolved and changes approved. |
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
The npx-create-db docs page claimed "The default region is
us-east-1." This is stale as of create-db v1.2.1: when--regionis omitted, the CLI geolocates the caller and provisions the database in the closest available region, falling back tous-east-1only when geolocation fails.This PR updates the sentence to describe the geo-detection behavior with
us-east-1as the fallback.Evidence
packages/create-db/src/cli/commands/create.tsin prisma/create-db:--regionflag provisioned inap-southeast-1.Scope check
Swept all docs pages mentioning
create-dborus-east-1for the same stale claim; this was the only instance. Otherus-east-1mentions are verbatim sample CLI output, explicit parameters (Management API, IaC, GitHub Actions), or a different product's default (Compute).Summary by CodeRabbit
us-east-1.--regionoption.