Skip to content

Commit 03dbbbb

Browse files
carieshmarieJon Wayne Parrott
authored and
Jon Wayne Parrott
committed
Update app.yaml (GoogleCloudPlatform#382)
Replace specific region (us-central1) with a REGION placeholder.
1 parent f177bf5 commit 03dbbbb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

appengine/flexible/cloudsql/app.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ env_variables:
1010
# Replace user, password, database, project, and instance with the values obtained
1111
# when configuring your Cloud SQL instance.
1212
SQLALCHEMY_DATABASE_URI: >-
13-
mysql+pymysql://USER:PASSWORD@/DATABASE?unix_socket=/cloudsql/PROJECT:us-central1:INSTANCE
13+
mysql+pymysql://USER:PASSWORD@/DATABASE?unix_socket=/cloudsql/PROJECT:REGION:INSTANCE
1414
#[END env]
1515

1616
#[START cloudsql_settings]
1717
# Replace project and instance with the values obtained when configuring your
1818
# Cloud SQL instance.
1919
beta_settings:
20-
cloud_sql_instances: PROJECT:us-central1:INSTANCE
20+
cloud_sql_instances: PROJECT:REGION:INSTANCE
2121
#[END cloudslq_settings]

0 commit comments

Comments
 (0)