Groups
Sign in
Groups
google-appengine-go
Conversations
About
Send feedback
Help
Project id and app.yaml
92 views
Skip to first unread message
System Mirror Admin
unread,
Feb 24, 2021, 4:16:48 PM
2/24/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to google-appengine-go
Is it possible to substitute the current project id into the app.yaml file when deploying to Google Cloud?
For example
#app.yaml
runtime: go112
env_variables:
PROJECT_ID: {the current project id}
chaom...@insightech.com
unread,
Feb 24, 2021, 5:17:15 PM
2/24/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to google-appengine-go
Maybe try Cloud Build
https://cloud.google.com/build/docs/configuring-builds/substitute-variable-values
I have an article to talk about how to automate the deployment with Cloud Build for different environments here:
https://chaoming-li.medium.com/automate-deployments-to-multiple-app-engine-environments-with-cloud-build-and-github-94b44f4de394
Reply all
Reply to author
Forward
0 new messages