Skip to content

Support for seconds_until_auto_pause in serverlessv2_scaling_configuration #238

Open
@fvasco

Description

@fvasco

Describe the Feature

Amazon Aurora Serverless v2 supports scaling to zero capacity (https://aws.amazon.com/about-aws/whats-new/2024/11/amazon-aurora-serverless-v2-scaling-zero-capacity/).
It is not possible to set, in a aws_rds_cluster resource:

  serverlessv2_scaling_configuration {
    min_capacity             = 0
    max_capacity             = 128
    seconds_until_auto_pause = 600
  }

min_capacity cannot be 0 and seconds_until_auto_pause is undefined.

Expected Behavior

Similar to executing command: aws rds modify-db-cluster --db-cluster-identifier mycluster --serverless-v2-scaling-configuration MinCapacity=0,MaxCapacity=128,SecondsUntilAutoPause=600

Use Case

Map RDS feature to Terraform

Describe Ideal Solution

Allow to set seconds_until_auto_pause and min_capacity=0 in a aws_rds_cluster resource

Alternatives Considered

No response

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions