title: How to add multiple google cloud datasources using spring
body: <p>I have two sql datasources already working locally, but I want to deploy it to two google cloud app-engines (I have it working with one right now). What do I need to change in my application-properties to define a second google instance/database? </p>
  
  <p>I already have links set up in my pom for connections called <code>sql.instance.second</code> and <code>sql.database.second</code>. I don't know how to define <code>spring.cloud.gcp.sql...</code> for a second app-engine. Another option I have is to not run it locally at all but just define a cloud instance when I'm defining the datasources and then define a driver for each, but I'm not too sure how to do that either.</p>
  
  <pre><code>spring.cloud.gcp.sql.instance-connection-name=@sql.instance.first@
  spring.cloud.gcp.sql.database-name=@sql.database.first@
  
  primary.datasource.jdbc-url = @mysql.host.first@
  primary.datasource.username = @mysql.user.first@
  primary.datasource.password = @mysql.pass.first@
  
  secondary.datasource.jdbc-url = @mysql.host.second@
  secondary.datasource.username = @mysql.user.second@
  secondary.datasource.password = @mysql.pass.second@
  </code></pre>