Skip to content

✨ Add support for app ID in fastapi deploy#144

Merged
patrick91 merged 2 commits intofastapilabs:mainfrom
buurro:app-id-arg
Jan 9, 2026
Merged

✨ Add support for app ID in fastapi deploy#144
patrick91 merged 2 commits intofastapilabs:mainfrom
buurro:app-id-arg

Conversation

@buurro
Copy link
Copy Markdown
Contributor

@buurro buurro commented Jan 9, 2026

This PR adds support for specifying an app ID while running fastapi deploy:

❯❯❯ fastapi deploy --app-id f05ed0c2-[...]

or

❯❯❯ export FASTAPI_CLOUD_APP_ID=f05ed0c2-[...]
❯❯❯ fastapi deploy

In case of mismatch between interactively configured app and explicit app ID, the deployment aborts:

❯❯❯ fastapi deploy --app-id 459ba5b7-[...]

   FastAPI   Starting deployment

             Error: Provided app ID (459ba5b7-[...]) does not match the local config (53b98727-[...]).

       tip   Run fastapi cloud unlink to remove the local config, or remove --app-id / unset FASTAPI_CLOUD_APP_ID to use the configured app.

@buurro buurro added the feature New feature or request label Jan 9, 2026
@buurro buurro requested a review from patrick91 January 9, 2026 15:46
@patrick91 patrick91 force-pushed the app-id-arg branch 2 times, most recently from e54282f to 11b4184 Compare January 9, 2026 16:20
@patrick91 patrick91 merged commit ae692af into fastapilabs:main Jan 9, 2026
15 checks passed
@patrick91 patrick91 deleted the app-id-arg branch January 9, 2026 16:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants