App Engine

gcloud topic gcloudignore

If you've got error can not deploy app or need to more qoutas.

This .gcloudignore would prevent the upload of the node_modules/ directory and any files ending in ~:

node_modules/ *~



In this case, a .gcloudignore file would help by preventing the upload of any file or directory. The syntax is the same as the .gitignore file.

First you could make sure gcloudignore is enabled:

gcloud config list

If it is not, then you may enable it:

gcloud config set gcloudignore/enabled true

Some gcloud commands like gcloud functions deploy may automatically generate a .gcloudignore file.

The .gcloudignore file must reside in the project root folder.