From dbb2d6f9da99004491d5c249548b15952fdbbcd4 Mon Sep 17 00:00:00 2001 From: yuto-ota Date: Sat, 28 Dec 2024 13:13:43 +0900 Subject: [PATCH] d-rds_cluster_instance_performance_insights --- README.md | 4 ++-- variables.tf | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index d03d05a..fca7ebe 100644 --- a/README.md +++ b/README.md @@ -286,7 +286,7 @@ No modules. | [cloudwatch\_log\_group\_tags](#input\_cloudwatch\_log\_group\_tags) | Additional tags for the CloudWatch log group(s) | `map(string)` | `{}` | no | | [cluster\_ca\_cert\_identifier](#input\_cluster\_ca\_cert\_identifier) | The CA certificate identifier to use for the DB cluster's server certificate. Currently only supported for multi-az DB clusters | `string` | `null` | no | | [cluster\_members](#input\_cluster\_members) | List of RDS Instances that are a part of this cluster | `list(string)` | `null` | no | -| [cluster\_performance\_insights\_enabled](#input\_cluster\_performance\_insights\_enabled) | Valid only for Non-Aurora Multi-AZ DB Clusters. Enables Performance Insights for the RDS Cluster | `bool` | `null` | no | +| [cluster\_performance\_insights\_enabled](#input\_cluster\_performance\_insights\_enabled) | Enables cluster-level Performance Insights | `bool` | `null` | no | | [cluster\_performance\_insights\_kms\_key\_id](#input\_cluster\_performance\_insights\_kms\_key\_id) | Valid only for Non-Aurora Multi-AZ DB Clusters. Specifies the KMS Key ID to encrypt Performance Insights data. If not specified, the default RDS KMS key will be used (aws/rds) | `string` | `null` | no | | [cluster\_performance\_insights\_retention\_period](#input\_cluster\_performance\_insights\_retention\_period) | Valid only for Non-Aurora Multi-AZ DB Clusters. Specifies the amount of time to retain performance insights data for. Defaults to 7 days if Performance Insights are enabled. Valid values are 7, month * 31 (where month is a number of months from 1-23), and 731 | `number` | `null` | no | | [cluster\_tags](#input\_cluster\_tags) | A map of tags to add to only the cluster. Used for AWS Instance Scheduler tagging | `map(string)` | `{}` | no | @@ -363,7 +363,7 @@ No modules. | [monitoring\_role\_arn](#input\_monitoring\_role\_arn) | IAM role used by RDS to send enhanced monitoring metrics to CloudWatch | `string` | `""` | no | | [name](#input\_name) | Name used across resources created | `string` | `""` | no | | [network\_type](#input\_network\_type) | The type of network stack to use (IPV4 or DUAL) | `string` | `null` | no | -| [performance\_insights\_enabled](#input\_performance\_insights\_enabled) | Specifies whether Performance Insights is enabled or not | `bool` | `null` | no | +| [performance\_insights\_enabled](#input\_performance\_insights\_enabled) | Specifies whether Performance Insights is enabled or not. Note that this setting cannot be set to a value that conflicts with `cluster_performance_insights_enabled` if it is configured | `bool` | `null` | no | | [performance\_insights\_kms\_key\_id](#input\_performance\_insights\_kms\_key\_id) | The ARN for the KMS key to encrypt Performance Insights data | `string` | `null` | no | | [performance\_insights\_retention\_period](#input\_performance\_insights\_retention\_period) | Amount of time in days to retain Performance Insights data. Either 7 (7 days) or 731 (2 years) | `number` | `null` | no | | [port](#input\_port) | The port on which the DB accepts connections | `string` | `null` | no | diff --git a/variables.tf b/variables.tf index 8e46247..1e54359 100644 --- a/variables.tf +++ b/variables.tf @@ -103,7 +103,7 @@ variable "cluster_members" { } variable "cluster_performance_insights_enabled" { - description = "Valid only for Non-Aurora Multi-AZ DB Clusters. Enables Performance Insights for the RDS Cluster" + description = "Enables cluster-level Performance Insights" type = bool default = null } @@ -419,7 +419,7 @@ variable "monitoring_interval" { } variable "performance_insights_enabled" { - description = "Specifies whether Performance Insights is enabled or not" + description = "Specifies whether Performance Insights is enabled or not. Note that this setting cannot be set to a value that conflicts with `cluster_performance_insights_enabled` if it is configured" type = bool default = null }