AppEngine docs recommend using command line flags instead of app.yaml file elements

In the app.yaml documentation , Google makes the following recommendation the number of times:

"The recommended approach is to remove the ELEMENT NAME [eg application] from the app.yaml file and use the command line flag instead to indicate the ELEMENT NAME [eg application ID]"

Unfortunately, Google does not explain why they recommend this.

In my opinion, the informative app.yaml file is much more useful than deploying an application with command line flags. Can someone explain why Google is making this recommendation?

+4
source share
1 answer

I think this is mainly because they are slowly moving away from appcfg.pyusing the Cloud SDK instead , where it is applicationnot supported. You can install the application by default, so you will not need to constantly use the command line.

+2
source

Source: https://habr.com/ru/post/1656906/


All Articles