Skip to content

Commit c6d404c

Browse files
piaxcjmdobry
authored andcommitted
Update app.yaml to use instance connection name (GoogleCloudPlatform#264)
* Update app.yaml to use instance connection name We're moving towards using instance connection name everywhere. It's also available from gcloud now. * Update app.yaml
1 parent 1b3dd3f commit c6d404c

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

appengine/cloudsql/app.yaml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,14 @@ env_variables:
2121
MYSQL_PASSWORD: YOUR_PASSWORD
2222
MYSQL_DATABASE: YOUR_DATABASE
2323
# e.g. my-awesome-project:us-central1:my-cloud-sql-instance
24-
INSTANCE_CONNECTION_NAME: YOUR_PROJECT_ID:YOUR_REGION:YOUR_INSTANCE_NAME
24+
INSTANCE_CONNECTION_NAME: YOUR_INSTANCE_CONNECTION_NAME
2525
# [END env]
2626

2727
# [START cloudsql_settings]
2828
beta_settings:
29-
# The connection name of your instance on its Overview page in the Google
30-
# Cloud Platform Console, or use `YOUR_PROJECT_ID:YOUR_REGION:YOUR_INSTANCE_NAME`
31-
cloud_sql_instances: YOUR_PROJECT_ID:YOUR_REGION:YOUR_INSTANCE_NAME
29+
# The connection name of your instance, available by using
30+
# 'gcloud beta sql instances describe [INSTANCE_NAME]' or from
31+
# the Instance details page in the Google Cloud Platform Console.
32+
cloud_sql_instances: YOUR_INSTANCE_CONNECTION_NAME
3233
# [END cloudsql_settings]
3334
# [END app_yaml]

0 commit comments

Comments
 (0)