cloud-sql-create-database

Create a new database in a Cloud SQL instance.

The cloud-sql-create-database tool creates a new database in a specified Cloud SQL instance.

Info

This tool uses a source of kind cloud-sql-admin.

Example

tools:
  create-cloud-sql-database:
    kind: cloud-sql-create-database
    source: my-cloud-sql-admin-source
    description: "Creates a new database in a Cloud SQL instance."

Reference

fieldtyperequireddescription
kindstringtrueMust be “cloud-sql-create-database”.
sourcestringtrueThe name of the cloud-sql-admin source to use.
descriptionstringfalseA description of the tool.

Input Parameters

parametertyperequireddescription
projectstringtrueThe project ID.
instancestringtrueThe ID of the instance where the database will be created.
namestringtrueThe name for the new database. Must be unique within the instance.