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.78k stars 9.13k forks source link

[Enhancement]: Enable 256 CPUs for Aurora Serverless v2 RDS instances #39672

Open katiekeel opened 1 day ago

katiekeel commented 1 day ago

Description

On 10/2/2024, AWS announced that Aurora Serverless v2 supports database capacity of up to 256 Aurora Capacity Units (ACUs) for newer MySQL and Postgres versions.

However, the module still appears to set 128 as the limit, although since that's a test I'm not 100% sure. But there haven't been any releases in this repo mentioning this change since it came out last week.

The serverlessv2_scaling_configuration Argument Reference also still lists a maximum of 128 for max_capacity.

max_capacity - (Required) Maximum capacity for an Aurora DB cluster in provisioned DB engine mode. The maximum capacity must be greater than or equal to the minimum capacity. Valid capacity values are in a range of 0.5 up to 128 in steps of 0.5.

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

aws_rds_cluster

Potential Terraform Configuration

resource "aws_rds_cluster" "example" {
  # ... other configuration ...

  serverlessv2_scaling_configuration {
    max_capacity = 256.0   # or any value between 128 and 256
    min_capacity = 0.5
  }
}

References

https://aws.amazon.com/about-aws/whats-new/2024/10/amazon-aurora-serverless-v2-256-acus/

Would you like to implement a fix?

None

github-actions[bot] commented 1 day ago

Community Note

Voting for Prioritization

Volunteering to Work on This Issue

eugercek commented 10 hours ago

May I pick this up?

EDIT: Since it's a simple PR didn't wait for your response. Attached a PR.