Cloud SQL

Definition

kind: database
cluster: <cluster-name>
name: <database-name>
class: sql
subClass: sql

init: <init-script-file-name>

Init Script

Definition accepts name of SQL file script to be executed to initialize the database. File path is specified relative to current Berliozfile.

Consuming

SQL databases can be consumed by can be consumed by services or lambdas.

consumes:
  - database: <database-name>