mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-08 02:25:19 +00:00
52 lines
1.8 KiB
Text
52 lines
1.8 KiB
Text
NAME
|
|
gcloud app create - create an App Engine app within the current Google
|
|
Cloud Project
|
|
|
|
SYNOPSIS
|
|
gcloud app create [--region=REGION] [--service-account=SERVICE_ACCOUNT]
|
|
[GCLOUD_WIDE_FLAG ...]
|
|
|
|
DESCRIPTION
|
|
Create an App Engine app within the current Google Cloud Project.
|
|
|
|
EXAMPLES
|
|
To create an app with region chosen interactively, run:
|
|
|
|
$ gcloud app create
|
|
|
|
To create an app in the us-central region, run:
|
|
|
|
$ gcloud app create --region=us-central
|
|
|
|
To create an app that with a user-managed service account, run:
|
|
|
|
$ gcloud app create --service-account=SERVICE_ACCOUNT
|
|
|
|
FLAGS
|
|
--region=REGION
|
|
The region to create the app within. Use gcloud app regions list to
|
|
list available regions. If not provided, select region interactively.
|
|
|
|
--service-account=SERVICE_ACCOUNT
|
|
The app-level default service account to create the app with. Note that
|
|
you can specify a distinct service account for each App Engine version
|
|
with gcloud app deploy --service-account. However if you do not specify
|
|
a version-level service account, this default will be used. If this
|
|
parameter is not provided for app creation, the app-level default will
|
|
be set to be the out-of-box App Engine Default Service Account,
|
|
https://cloud.google.com/appengine/docs/standard/python3/service-account
|
|
outlines the limitation of that service account.
|
|
|
|
GCLOUD WIDE FLAGS
|
|
These flags are available to all commands: --access-token-file, --account,
|
|
--billing-project, --configuration, --flags-file, --flatten, --format,
|
|
--help, --impersonate-service-account, --log-http, --project, --quiet,
|
|
--trace-token, --user-output-enabled, --verbosity.
|
|
|
|
Run $ gcloud help for details.
|
|
|
|
NOTES
|
|
This variant is also available:
|
|
|
|
$ gcloud beta app create
|
|
|