databaseRoles property

Input<List<String>?>? databaseRoles
final

A list of database roles to be assigned to the user. This option is only available for MySQL 8+ and PostgreSQL instances. You can include predefined Cloud SQL roles, like cloudsqlsuperuser, or your own custom roles. Custom roles must be created in the database before you can assign them. You can create roles using the CREATE ROLE statement for both MySQL and PostgreSQL. Note: This property is write-only and will not be read from the API. Caution: Existing database roles will be overwriten with new values from this field.

Implementation

final pulumi.Input<List<String>?>? databaseRoles;