File tree Expand file tree Collapse file tree 13 files changed +38
-0
lines changed
Expand file tree Collapse file tree 13 files changed +38
-0
lines changed Original file line number Diff line number Diff line change @@ -55,6 +55,7 @@ module "mssql" {
5555| disk\_ size | The disk size for the Cloud SQL instance. | ` number ` | ` 10 ` | no |
5656| disk\_ type | The disk type for the Cloud SQL instance. | ` string ` | ` "PD_SSD" ` | no |
5757| edition | The edition of the instance, can be ENTERPRISE or ENTERPRISE\_ PLUS. | ` string ` | ` null ` | no |
58+ | enable\_ dataplex\_ integration | Enable database Dataplex integration | ` bool ` | ` false ` | no |
5859| enable\_ default\_ db | Enable or disable the creation of the default database | ` bool ` | ` true ` | no |
5960| enable\_ default\_ user | Enable or disable the creation of the default user | ` bool ` | ` true ` | no |
6061| encryption\_ key\_ name | The full path to the encryption key used for the CMEK disk encryption | ` string ` | ` null ` | no |
Original file line number Diff line number Diff line change @@ -62,6 +62,7 @@ resource "google_sql_database_instance" "default" {
6262 availability_type = var. availability_type
6363 deletion_protection_enabled = var. deletion_protection_enabled
6464 connector_enforcement = local. connector_enforcement
65+ enable_dataplex_integration = var. enable_dataplex_integration
6566
6667 dynamic "backup_configuration" {
6768 for_each = ! local. is_secondary_instance && var. backup_configuration . enabled ? [var . backup_configuration ] : []
Original file line number Diff line number Diff line change @@ -360,3 +360,9 @@ variable "enable_default_user" {
360360 type = bool
361361 default = true
362362}
363+
364+ variable "enable_dataplex_integration" {
365+ description = " Enable database Dataplex integration"
366+ type = bool
367+ default = false
368+ }
Original file line number Diff line number Diff line change @@ -68,6 +68,7 @@ module "mysql-db" {
6868| disk\_ size | The disk size (in GB) for the master instance | ` number ` | ` 10 ` | no |
6969| disk\_ type | The disk type for the master instance. | ` string ` | ` "PD_SSD" ` | no |
7070| edition | The edition of the instance, can be ENTERPRISE or ENTERPRISE\_ PLUS. | ` string ` | ` null ` | no |
71+ | enable\_ dataplex\_ integration | Enable database Dataplex integration | ` bool ` | ` false ` | no |
7172| enable\_ default\_ db | Enable or disable the creation of the default database | ` bool ` | ` true ` | no |
7273| enable\_ default\_ user | Enable or disable the creation of the default user | ` bool ` | ` true ` | no |
7374| enable\_ google\_ ml\_ integration | Enable database ML integration | ` bool ` | ` false ` | no |
Original file line number Diff line number Diff line change @@ -72,6 +72,7 @@ resource "google_sql_database_instance" "default" {
7272 deletion_protection_enabled = var. deletion_protection_enabled
7373 connector_enforcement = local. connector_enforcement
7474 enable_google_ml_integration = var. enable_google_ml_integration
75+ enable_dataplex_integration = var. enable_dataplex_integration
7576
7677 dynamic "backup_configuration" {
7778 for_each = [var . backup_configuration ]
Original file line number Diff line number Diff line change @@ -162,6 +162,9 @@ spec:
162162 enable_google_ml_integration :
163163 name : enable_google_ml_integration
164164 title : Enable Google Ml Integration
165+ enable_dataplex_integration :
166+ name : enable_dataplex_integration
167+ title : Enable Dataplex Integration
165168 enable_random_password_special :
166169 name : enable_random_password_special
167170 title : Enable Random Password Special
Original file line number Diff line number Diff line change @@ -406,6 +406,10 @@ spec:
406406 description : Enable database ML integration
407407 varType : bool
408408 defaultValue : false
409+ - name : enable_dataplex_integration
410+ description : Enable database Dataplex integration
411+ varType : bool
412+ defaultValue : false
409413 - name : database_integration_roles
410414 description : The roles required by default database instance service account for integration with GCP services
411415 varType : list(string)
Original file line number Diff line number Diff line change @@ -462,6 +462,12 @@ variable "enable_google_ml_integration" {
462462 default = false
463463}
464464
465+ variable "enable_dataplex_integration" {
466+ description = " Enable database Dataplex integration"
467+ type = bool
468+ default = false
469+ }
470+
465471variable "database_integration_roles" {
466472 description = " The roles required by default database instance service account for integration with GCP services"
467473 type = list (string )
Original file line number Diff line number Diff line change @@ -140,6 +140,7 @@ module "pg" {
140140| disk\_ size | The disk size (in GB) for the Cloud SQL instance. | ` number ` | ` 10 ` | no |
141141| disk\_ type | The disk type for the Cloud SQL instance. | ` string ` | ` "PD_SSD" ` | no |
142142| edition | The edition of the Cloud SQL instance, can be ENTERPRISE or ENTERPRISE\_ PLUS. | ` string ` | ` null ` | no |
143+ | enable\_ dataplex\_ integration | Enable database Dataplex integration | ` bool ` | ` false ` | no |
143144| enable\_ default\_ db | Enable or disable the creation of the default database | ` bool ` | ` true ` | no |
144145| enable\_ default\_ user | Enable or disable the creation of the default user | ` bool ` | ` true ` | no |
145146| enable\_ google\_ ml\_ integration | Enable database ML integration | ` bool ` | ` false ` | no |
Original file line number Diff line number Diff line change @@ -77,6 +77,7 @@ resource "google_sql_database_instance" "default" {
7777 deletion_protection_enabled = var. deletion_protection_enabled
7878 connector_enforcement = local. connector_enforcement
7979 enable_google_ml_integration = var. enable_google_ml_integration
80+ enable_dataplex_integration = var. enable_dataplex_integration
8081
8182 dynamic "backup_configuration" {
8283 for_each = local. is_secondary_instance ? [] : [var . backup_configuration ]
You can’t perform that action at this time.
0 commit comments