hashicorp / terraform-provider-aws

The AWS Provider enables Terraform to manage AWS resources.
https://registry.terraform.io/providers/hashicorp/aws
Mozilla Public License 2.0
9.62k stars 9k forks source link

[Enhancement]: Add support for Performance Insights and Enhanced monitoring to the aws_rds_cluster resource #37657

Open anacronxinetd opened 1 month ago

anacronxinetd commented 1 month ago

Description

For AWS RDS Multi-AZ clusters, Performance Insights and Enhanced monitoring can only be enabled at the cluster level. Testing with the latest version of the AWS provider (5.50.0), the option to do so is currently not supported. However, it is for the following resource: https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/rds_cluster_instance

Affected Resource(s) and/or Data Source(s)

aws_rds_cluster - https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/rds_cluster

Potential Terraform Configuration

resource "aws_rds_cluster" "example" {
  cluster_identifier        = "example"
  availability_zones        = ["us-west-2a", "us-west-2b", "us-west-2c"]
  engine                    = "mysql"
  db_cluster_instance_class = "db.r6gd.xlarge"
  storage_type              = "io1"
  allocated_storage         = 100
  iops                      = 1000
  master_username           = "test"
  master_password           = "mustbeeightcharaters"
}

References

https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/rds_cluster

Would you like to implement a fix?

None

github-actions[bot] commented 1 month ago

Community Note

Voting for Prioritization

Volunteering to Work on This Issue

justinretzolk commented 1 month ago

Related #29415