terraform-google-modules / terraform-google-sql-db

Creates a Cloud SQL database instance
https://registry.terraform.io/modules/terraform-google-modules/sql-db/google
Apache License 2.0
265 stars 427 forks source link

feat!: Add enable_google_ml_integration setting for database instance and configurable project roles for default database service account #615

Closed q2w closed 3 months ago

q2w commented 3 months ago

This PR makes below changes,

  1. Add enable_google_ml_integration setting for database instance. https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/sql_database_instance#enable_google_ml_integration
  2. Configurable project roles for default database service account. The default database service account is created for each database instance. To enable database to call ML functions from VertexAI etc, the service account needs suitable project roles.

This feature has been used in "Gen AI rag with cloud sql" https://github.com/GoogleCloudPlatform/terraform-genai-rag/blob/main/database.tf#L32

bharathkkb commented 3 months ago

/gcbrun

bharathkkb commented 3 months ago

/gcbrun

imrannayer commented 3 months ago

/gcbrun

bharathkkb commented 3 months ago

/gcbrun