This answer says that appcfg.py -E allows me to set secrets on deploy and this answer says that appcfg.py will go away. Is there a way for me to set environment variables on command line when deploying an AppEngine app using gcloud app deploy?
            Asked
            
        
        
            Active
            
        
            Viewed 103 times
        
    2
            
            
        
        Ztyx
        
- 14,100
 - 15
 - 78
 - 114
 
1 Answers
1
            You can't for deployments. Instead, you can always specify your environment variables in the app.yaml file.
        Mangu
        
- 3,160
 - 2
 - 25
 - 42
 
- 
                    Unfortunately, this doesn't answer my question. – Ztyx Apr 03 '18 at 07:31
 - 
                    I edited the answer. Basically, you can't, according to the documentation. This is the option to follow in deployments. – Mangu Apr 03 '18 at 07:41