You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(cli): add --region to project create and fix default region on new app deploys
Add --region <region> flag to `project create`, thread it through implicit
project creation in `app deploy --create-project`, and remove the hardcoded
DEFAULT_REGION ("eu-central-1") fallback so apps created without --region
inherit the project's server-assigned default rather than always landing in
Frankfurt. Also surface `defaultRegion` from the project API in `project show`
output and add `defaultRegion` to ProjectRecord and ProjectSummary types.
The selectRegion stub on DeployInteraction is removed entirely — it was dead
code (interaction: undefined is always passed to sdk.deploy; the branch-app
path calls createBranchApp directly before sdk.deploy, so sdk.deploy always
receives a concrete appId and never reaches #resolveDeployTarget's region
shortcut).
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
- creates a Project in the authenticated workspace
716
+
-`--region <region>` sets the Project's default Compute region; Apps created in the Project inherit this region unless overridden at deploy time with `--region`; when omitted the platform assigns the default region
716
717
- writes `.prisma/local.json` with Workspace and Project IDs
717
718
- ensures `.prisma/` is ignored by Git
718
719
- does not create a Branch, App, Deployment, database, or Git repository connection
0 commit comments