diff --git a/modules/README.md b/modules/README.md index f8c30b7035..37c057107f 100644 --- a/modules/README.md +++ b/modules/README.md @@ -79,6 +79,7 @@ These modules are used in the examples included in this repository. If you are u ## Data +- [AlloyDB](./alloydb) - [Analytics Hub](./analytics-hub) - [BigQuery dataset](./bigquery-dataset) - [Bigtable instance](./bigtable-instance) diff --git a/modules/alloydb/README.md b/modules/alloydb/README.md index 274e957162..ebe06ac0b0 100644 --- a/modules/alloydb/README.md +++ b/modules/alloydb/README.md @@ -91,9 +91,9 @@ module "alloydb" { |---|---|:---:|:---:|:---:| | [cluster_name](variables.tf#L85) | Name of the primary cluster. | string | ✓ | | | [cluster_network_config](variables.tf#L90) | Network configuration for the cluster. Only one between cluster_network_config and cluster_psc_config can be used. | object({…}) | ✓ | | -| [location](variables.tf#L196) | Region or zone of the cluster and instance. | string | ✓ | | -| [name](variables.tf#L252) | Name of primary instance. | string | ✓ | | -| [project_id](variables.tf#L267) | The ID of the project where this instances will be created. | string | ✓ | | +| [location](variables.tf#L185) | Region or zone of the cluster and instance. | string | ✓ | | +| [name](variables.tf#L241) | Name of primary instance. | string | ✓ | | +| [project_id](variables.tf#L256) | The ID of the project where this instances will be created. | string | ✓ | | | [automated_backup_configuration](variables.tf#L17) | Automated backup settings for cluster. | object({…}) | | {…} | | [availability_type](variables.tf#L68) | Availability type for the primary replica. Either `ZONAL` or `REGIONAL`. | string | | "REGIONAL" | | [client_connection_config](variables.tf#L74) | Client connection config. | object({…}) | | null | @@ -104,14 +104,13 @@ module "alloydb" { | [encryption_config](variables.tf#L138) | Set encryption configuration. KMS name format: 'projects/[PROJECT]/locations/[REGION]/keyRings/[RING]/cryptoKeys/[KEY_NAME]'. | object({…}) | | null | | [flags](variables.tf#L148) | Map FLAG_NAME=>VALUE for database-specific tuning. | map(string) | | null | | [initial_user](variables.tf#L155) | AlloyDB cluster initial user credentials. | object({…}) | | null | -| [insights_config](variables.tf#L164) | Query Insights configuration. Defaults to null which disables Query Insights. | object({…}) | | null | -| [instance_network_config](variables.tf#L175) | Network configuration for the instance. Only one between instance_network_config and instance_psc_config can be used. | object({…}) | | null | -| [labels](variables.tf#L190) | Labels to be attached to all instances. | map(string) | | null | -| [machine_config](variables.tf#L201) | AlloyDB machine config. | object({…}) | | {…} | -| [maintenance_config](variables.tf#L212) | Set maintenance window configuration. | object({…}) | | {…} | -| [prefix](variables.tf#L257) | Optional prefix used to generate instance names. | string | | null | -| [query_insights_config](variables.tf#L272) | Query insights config. | object({…}) | | {…} | -| [users](variables.tf#L288) | Map of users to create in the primary instance (and replicated to other replicas). Set PASSWORD to null if you want to get an autogenerated password. The user types available are: 'ALLOYDB_BUILT_IN' or 'ALLOYDB_IAM_USER'. | map(object({…})) | | null | +| [instance_network_config](variables.tf#L164) | Network configuration for the instance. Only one between instance_network_config and instance_psc_config can be used. | object({…}) | | null | +| [labels](variables.tf#L179) | Labels to be attached to all instances. | map(string) | | null | +| [machine_config](variables.tf#L190) | AlloyDB machine config. | object({…}) | | {…} | +| [maintenance_config](variables.tf#L201) | Set maintenance window configuration. | object({…}) | | {…} | +| [prefix](variables.tf#L246) | Optional prefix used to generate instance names. | string | | null | +| [query_insights_config](variables.tf#L261) | Query insights config. | object({…}) | | {…} | +| [users](variables.tf#L277) | Map of users to create in the primary instance (and replicated to other replicas). Set PASSWORD to null if you want to get an autogenerated password. The user types available are: 'ALLOYDB_BUILT_IN' or 'ALLOYDB_IAM_USER'. | map(object({…})) | | null | ## Outputs diff --git a/modules/alloydb/variables.tf b/modules/alloydb/variables.tf index f6d6fe8ad5..3f81dce629 100644 --- a/modules/alloydb/variables.tf +++ b/modules/alloydb/variables.tf @@ -161,17 +161,6 @@ variable "initial_user" { default = null } -variable "insights_config" { - description = "Query Insights configuration. Defaults to null which disables Query Insights." - type = object({ - query_string_length = optional(number, 1024) - record_application_tags = optional(bool, false) - record_client_address = optional(bool, false) - query_plans_per_minute = optional(number, 5) - }) - default = null -} - variable "instance_network_config" { description = "Network configuration for the instance. Only one between instance_network_config and instance_psc_config can be used." type = object({