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.85k stars 9.2k forks source link

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

Open anacronxinetd opened 6 months ago

anacronxinetd commented 6 months 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 6 months ago

Community Note

Voting for Prioritization

Volunteering to Work on This Issue

justinretzolk commented 6 months ago

Related #29415

rwe-dtroup commented 1 month ago

Does this still need triage? One issue has been added/fixed, but the other (enhanced monitoring) is still not available at the cluster level using terraform.