Skip to main content
Version: v1.8

Gcp-Cloudsql

Description

A module to create a private database setup

Specification

Properties

NameDescriptionTypeRequiredDefault
databaseA list of objects that describes if any databases to be created. Example: [{name: 'mydb'}]list(object({\n name = string\n }))false
instanceInstance configurationmap<any>false
nameThe name of the database instancestringtrue
network_nameThe name of the VCP to provision this in tostringtrue
projectThe name of the GCP projectstringtrue
require_sslRequire SSL connections or notboolfalse
usersA list of users that belong to a database instance. Example: [{name: 'user1', password: 'secret'}]list(object({\n name = string\n password = string\n }))false
writeConnectionSecretToRefThe secret which the cloud resource connection will be written towriteConnectionSecretToReffalse

writeConnectionSecretToRef

NameDescriptionTypeRequiredDefault
nameThe secret name which the cloud resource connection will be written tostringtrue
namespaceThe secret namespace which the cloud resource connection will be written tostringfalse